LDAPModifyValve
Note
Valve for modifying attributes on existing entries in an LDAP Directory.
Valve operates on the Current Item Set and will process all items surviving the common item filtering rules.
Supports the following modification types:
- ADD
- REPLACE
- DELETE
Attributes to modify can be filtered using the attributes configuration property.
Properties
Name | Description | Default value | Mandatory | Supports property expansion |
---|---|---|---|---|
connection_ref | Id of LDAP connection to use. Must refer to a connection of type 'LDAP'. | Yes | No | |
attributes | List of attributes to modify. | No | No | |
item_id_pattern | Regex pattern for item id's to perform operations on. Items with id's that doesnt match the regex will be filter out. | '.*' (include all items ) | No | No |
modification_type | Type of modification to perform. Supported values are: 'ADD', 'REPLACE' and 'DELETE'. | ADD | Yes | No |
Example Configuration
{
"name": "LDAPModifyValve",
"config": {
"connection_ref":"b0f2ddff-9585-47c5-9286-2bee2b731197",
"modification_type":"DELETE",
"attributes":"description"
}
}
Requirements
Item set must have at least one entry.
The id of the item has to be set to the distinguished name of the object to be modified.