public class CompareAuthenticationHandler extends AbstractCompareAuthenticationHandler implements ConnectionFactoryManager
AbstractCompareAuthenticationHandler.Scheme
Modifier and Type | Field and Description |
---|---|
private ConnectionFactory |
factory
Connection factory.
|
DEFAULT_ATTRIBUTE, DEFAULT_SCHEME
logger
Constructor and Description |
---|
CompareAuthenticationHandler()
Default constructor.
|
CompareAuthenticationHandler(ConnectionFactory cf)
Creates a new compare authentication handler.
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
getConnection()
Returns a connection that the compare operation should be performed on.
|
ConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
void |
setConnectionFactory(ConnectionFactory cf)
Sets the connection factory.
|
String |
toString() |
authenticateInternal, digestCredential, getPasswordAttribute, getPasswordScheme, setPasswordAttribute, setPasswordScheme
authenticate, getAuthenticationControls, processRequestControls, setAuthenticationControls
private ConnectionFactory factory
public CompareAuthenticationHandler()
public CompareAuthenticationHandler(ConnectionFactory cf)
cf
- connection factorypublic ConnectionFactory getConnectionFactory()
ConnectionFactoryManager
getConnectionFactory
in interface ConnectionFactoryManager
public void setConnectionFactory(ConnectionFactory cf)
ConnectionFactoryManager
setConnectionFactory
in interface ConnectionFactoryManager
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.