Configuring the LDAP Access Service

About this task

Configuration of the LDAP Access Service can be done either at initialization, by using an LDAPService definition externalized in the services definition file; or at runtime, by calling one of the following methods on an instance of the LDAPService class:
A summary of the core attributes for initialization of the LDAP service is shown below. It includes the name of the attribute in the LDAPService class, the externalized name, and the Java accessor method.
Table 1. LDAP Access Service attributes
Attribute Name Externalized Name Java Access Method Mandatory
authenticationMethod authMethod setAuthenticationMethod(String) No
authenticationCredentials authCredentials setAuthenticationCredentials( Object) No
authenticationPrincipal authPrincipal setAuthenticationPrincipal(Object) No
provideUrl factory providerUrl setProviderUrl(String) Yes
factory factory setProviderFactory(String) Yes

See LDAP service definitions for an example of an externalized definition for the LDAP service.