public class PooledBindAuthenticationHandler extends AbstractBindAuthenticationHandler implements PooledConnectionFactoryManager
| Modifier and Type | Field and Description |
|---|---|
private PooledConnectionFactory |
factory
Connection factory.
|
logger| Constructor and Description |
|---|
PooledBindAuthenticationHandler()
Default constructor.
|
PooledBindAuthenticationHandler(PooledConnectionFactory cf)
Creates a new pooled bind authentication handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected AuthenticationHandlerResponse |
authenticateInternal(Connection c,
AuthenticationCriteria criteria)
Authenticate on the supplied connection using the supplied criteria.
|
protected Connection |
getConnection()
Returns a connection that the authentication operation should be performed on.
|
PooledConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
void |
setConnectionFactory(PooledConnectionFactory cf)
Sets the connection factory.
|
String |
toString() |
getAuthenticationSaslConfig, setAuthenticationSaslConfigauthenticate, getAuthenticationControls, processRequestControls, setAuthenticationControlsprivate PooledConnectionFactory factory
public PooledBindAuthenticationHandler()
public PooledBindAuthenticationHandler(PooledConnectionFactory cf)
cf - connection factorypublic PooledConnectionFactory getConnectionFactory()
PooledConnectionFactoryManagergetConnectionFactory in interface PooledConnectionFactoryManagerpublic void setConnectionFactory(PooledConnectionFactory cf)
PooledConnectionFactoryManagersetConnectionFactory in interface PooledConnectionFactoryManagercf - connection factoryprotected Connection getConnection() throws LdapException
AbstractAuthenticationHandlergetConnection in class AbstractAuthenticationHandlerLdapException - if an error occurs provisioning the connectionprotected AuthenticationHandlerResponse authenticateInternal(Connection c, AuthenticationCriteria criteria) throws LdapException
AbstractAuthenticationHandlerauthenticateInternal in class AbstractAuthenticationHandlerc - to authenticate oncriteria - criteria to authenticate withLdapException - if the authentication failsCopyright © 2003-2019 Virginia Tech. All Rights Reserved.