LDAP service definitions
The following externalized data is used to define the LDAP Access Service class in the toolkit services definition file:
LDAP service attributes
id
The service identification.
providerUrl
The URL address of the LDAP server to communicate with.
factory
The name of the factory class (for example, com.sun.jndi.ldap.LdapCtxFactory).
authMethod
The authentication method (for example, simple or none).
authPrincipal
The authenticating principal.
authCredentials
The credentials of the authenticating principal.
searchRoot
The name of the suffix to use to bind to when initializing the service.
Example
The following is an example definition of the externalized data of an LDAP service:
<LDAPService id="ldapService" providerUrl="ldap://localhost:389"
factory="com.sun.jndi.ldap.LdapCtxFactory" authMethod="simple"
authPrincipal="cn=root" authCredentials="password" >
Go up to