public class BindAuthenticator extends AbstractLdapAuthenticator
AbstractLdapAuthenticatormessages| Constructor and Description | 
|---|
BindAuthenticator(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
Create an initialized instance using the  
BaseLdapPathContextSource
 provided. | 
| Modifier and Type | Method and Description | 
|---|---|
org.springframework.ldap.core.DirContextOperations | 
authenticate(Authentication authentication)
Authenticates as a user and obtains additional user information from the directory. 
 | 
protected void | 
handleBindException(java.lang.String userDn,
                   java.lang.String username,
                   java.lang.Throwable cause)
Allows subclasses to inspect the exception thrown by an attempt to bind with a
 particular DN. 
 | 
afterPropertiesSet, getContextSource, getUserAttributes, getUserDns, getUserSearch, setMessageSource, setUserAttributes, setUserDnPatterns, setUserSearchpublic BindAuthenticator(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
BaseLdapPathContextSource
 provided.contextSource - the BaseLdapPathContextSource instance against which bind
 operations will be performed.public org.springframework.ldap.core.DirContextOperations authenticate(Authentication authentication)
LdapAuthenticatorprotected void handleBindException(java.lang.String userDn,
                                   java.lang.String username,
                                   java.lang.Throwable cause)