<ldap-server id="PrimayLDAP" url="ldap://enter_hostname:389/root_dn_here" manager-dn="uid=admin,ou=system" manager-password="admin" /> <ldap-authentication-provider server-ref="PrimayLDAP" group-role-attribute="cn" role-prefix="ROLE_" group-search-filter="(member={0})" group-search-base="" user-search-base="" user-search-filter="(uid={0})" /> |
XML Element | ID | Property | Value |
ldap-server | PrmaryLDAP | url | One or more of the LDAP URLs that are used to connect to the directory service in a comma-separated list. |
manager-dn | The Distinguished Name (DN) used to log into the Directory Service and to search for user accounts. | ||
manager-password | The password for the manager account specified in the manager-dn property. | ||
ldap-authentication-provider | n/a | user-search-base | The DN of the LDAP object where the search to find a user account begins. |
user-search-filter | The LDAP query string used to find the object representing the user account. The default is “(uid={0})”. The {0} is a required value. It is a token that represents the user account that is being validated. | ||
group-search-base | The DN of the LDAP object where the search for the user account's groups begins. | ||
group-search-filter | The LDAP query string used to find the user account's group objects. The default is “(member={0})”. (In some LDAP implementations the name is memberof.) The {0} is a required value. It is a token that represents the user account that is being validated. | ||
group-role-attribute | The field name to use as the Spring Security role name for the group object DN. | ||
role-prefix | The prefix assigned to the role obtained from an LDAP group search. In OpenEdge, the prefix ROLE_ is typically used to designate it as a Spring Security role. |