LDAPLoadValve

Valve for loading an entry from an LDAP Directory.

If no Items exist in the Current Item Set (CIS), the valve will perform the configured load and populate the CIS with the loaded entry (if found). If Items exist in CIS the Valve operates on them and will process all Items surviving the common item filtering rules.

When in item iteration mode, loaded entrys will be merged the current item even if item identifiers doesn’t match.

Supports attributes configuration to specify which attributes to include in load.

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 load No 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
dn DN Yes Yes
binary_attrs List of attributes that should be treated as binary No No

Example Configuration

{
        "name": "LDAPLoadValve",
        "config": { 
              "connection_ref":"b0f2ddff-9585-47c5-9286-2bee2b731197",
              "dn":"cn={{item.name}},dc=example,dc=com",
              "attributes":"cn,uid,mail,mobile" 
        }
}

Requirements