LDAP Search
Valve for searching LDAP v3 directories
Introduction
Prerequisites
Before using this valve the LdapClient module must be configured and deployed.
Configuration
Valve name: LDAPSearch
Common LDAP valve configuration can be found here.
Name | Description | Default value | Mandatory | Expanded |
---|---|---|---|---|
| Search base DN. | |||
| Search scope. |
| ||
| Search filter. | |||
| Specification of attributes to include in search response. |
| ||
| Allow filters with wildcard (*) |
| ||
| If special characters in the filter should be escaped. |
| ||
| The valve will fail if this value is set (integer) and the result count differs from this value. |
Search scopes
The following search scopes are supported:
BASE
SUB
SUBORDINATE_SUBTREE
ONE
Filter
Attributes specification
The attributes specification is used for defining the entry attributes to include in the search response. If not specified; all non-operational attributes will returned.
For single valued attributes, the specification can be a comma separated list ("uid
,cn,mail"
) or an array (["uid","cn","mail"]
) of attribute names.
To enable multi value attributes the specification must be an array of attribute spec objects:
All attributes are treated as single valued unless specifically configured as multi valued. If an attribute configured as single valued has multiple values in the directory; only the first value will be used.