Class Overview
An authenticator which binds as a user.
Summary
Public Constructors |
|
BindAuthenticator(BaseLdapPathContextSource contextSource)
Create an initialized instance using the BaseLdapPathContextSource provided.
|
Public Constructors
public
BindAuthenticator
(BaseLdapPathContextSource contextSource)
Create an initialized instance using the BaseLdapPathContextSource provided.
Parameters
contextSource
| the BaseLdapPathContextSource instance against which bind operations will be
performed.
|
Public Methods
public
DirContextOperations
authenticate
(Authentication authentication)
Protected Methods
protected
void
handleBindException
(String userDn, String username, Throwable cause)
Allows subclasses to inspect the exception thrown by an attempt to bind with a particular DN.
The default implementation just reports the failure to the debug logger.