LDAPAddValve

Valve for adding entries to an LDAP Directory.

Valve operates on the Current Item Set and will process all Items surviving the common item filtering rules.

Attributes to add is specified 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
item_id_pattern Regex pattern for item ids to perform operations on. Items with ids that doesn’t match the regex will be filter out. '.*' (include all items ) No No
attributes Attributes to add Yes Yes
include_empty_attrs Flag controlling if empty attributes should be included false No No

Example Configuration

{
        "name": "LDAPAddValve",
        "config": { 
              "connection_ref":"b0f2ddff-9585-47c5-9286-2bee2b731197",
              "attributes":"description,mobile",
              "include_empty_attrs":"true" 
        }
}

Requirements

Item set must have at least one entry.