LDAP Search
Valve for searching LDAP v3 directories
Introduction
Prerequisites
Before using this valve the LdapClient module must be configured and deployed.
Configuration
Common LDAP valve configuration can be found here.
base_dn
Search base DN.
scope
Search scope.
"SUB"
filter
Search filter.
attributes
Specification of attributes to include in search response.
"*"
Search scopes
The following search scopes are supported:
BASE
SUB
SUBORDINATE_SUBTREE
ONE
Filter
{
"filter": "uid=*"
}
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:
{
"attributes": [
{
"name": "uid",
"multivalue": false
},
{
"name": "cn",
"multivalue": false
},
{
"name": "mail",
"multivalue": true
}
]
}
Last updated