public class PooledCompareAuthenticationHandler extends AbstractCompareAuthenticationHandler implements PooledConnectionFactoryManager
AbstractCompareAuthenticationHandler.Scheme
Modifier and Type | Field and Description |
---|---|
private PooledConnectionFactory |
factory
Connection factory.
|
DEFAULT_ATTRIBUTE, DEFAULT_SCHEME
logger
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, setPasswordScheme
authenticate, getAuthenticationControls, processRequestControls, setAuthenticationControls
private PooledConnectionFactory factory
public PooledCompareAuthenticationHandler()
public PooledCompareAuthenticationHandler(PooledConnectionFactory cf)
cf
- connection factorypublic PooledConnectionFactory getConnectionFactory()
PooledConnectionFactoryManager
getConnectionFactory
in interface PooledConnectionFactoryManager
public void setConnectionFactory(PooledConnectionFactory cf)
PooledConnectionFactoryManager
setConnectionFactory
in interface PooledConnectionFactoryManager
cf
- connection factoryprotected Connection getConnection() throws LdapException
AbstractCompareAuthenticationHandler
getConnection
in class AbstractCompareAuthenticationHandler
LdapException
- if an error occurs provisioning the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.