public class PooledCompareAuthenticationHandler extends AbstractCompareAuthenticationHandler implements PooledConnectionFactoryManager
AbstractCompareAuthenticationHandler.Scheme| Modifier and Type | Field and Description |
|---|---|
private PooledConnectionFactory |
factory
Connection factory.
|
DEFAULT_ATTRIBUTE, DEFAULT_SCHEMElogger| Constructor and Description |
|---|
PooledCompareAuthenticationHandler()
Default constructor.
|
PooledCompareAuthenticationHandler(PooledConnectionFactory cf)
Creates a new pooled compare authentication handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected Connection |
getConnection()
Returns a connection that the compare operation should be performed on.
|
PooledConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
void |
setConnectionFactory(PooledConnectionFactory cf)
Sets the connection factory.
|
String |
toString() |
authenticateInternal, digestCredential, getPasswordAttribute, getPasswordScheme, setPasswordAttribute, setPasswordSchemeauthenticate, getAuthenticationControls, processRequestControls, setAuthenticationControlsprivate PooledConnectionFactory factory
public PooledCompareAuthenticationHandler()
public PooledCompareAuthenticationHandler(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
AbstractCompareAuthenticationHandlergetConnection in class AbstractCompareAuthenticationHandlerLdapException - if an error occurs provisioning the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.