EnrichUserFromLDAP

Queries an LDAP directory to obtain information about a user, and adds the information to the IDOL document. The processor can read a user ID or e-mail address from either a FlowFile attribute or an IDOL document metadata field. You might use this processor when a connector writes a user ID to an IDOL document, and you want to add more information about the user, such as their display name or group memberships.

Properties

Name Default Value Description
IDOL License Service  

An IdolLicenseServiceImpl that provides a way to communicate with an IDOL License Server.

LDAP Host   The host name or IP address of the LDAP server.
LDAP Port   The LDAP server port.
LDAP Username   The user name or DN to use to authenticate with the LDAP server.
LDAP Password   The password to use to authenticate with the LDAP server.
LDAP Security None The type of security to use when connecting to the LDAP server (None, SSL/TLS, StartTLS).
LDAP Bind Method None The LDAP bind method (None, Simple, External, Negotiate, Kerberos)
LDAP Search Scope Base The LDAP search scope.
LDAP Base DN   The base Distinguished Name (DN) to search in.
LDAP Attribute Match displayName,mail,sAMAccountName A comma- (or newline-) separated list of attributes to search for a match to the user ID read from the FlowFile or document.
LDAP Attributes displayName,mail,sAMAccountName A comma- (or newline-) separated list of attributes to add to the document metadata.
LDAP ID Source Attribute Specifies whether to read the user ID from the "User ID" property or from an IDOL document metadata field (see XML Metadata Field).
User ID   The user ID or e-mail address to look up. You can use NiFi expression language to select the value of a FlowFile attribute.
XML Metadata Field   An XPath expression to the metadata field that contains the user ID or e-mail address to look up.

Relationships

Name Description
success FlowFiles that were processed successfully.
failure FlowFiles that were not processed successfully.