public class CompareAuthenticationHandler extends AbstractCompareAuthenticationHandler implements ConnectionFactoryManager
AbstractCompareAuthenticationHandler.Scheme| Modifier and Type | Field and Description |
|---|---|
private ConnectionFactory |
factory
Connection factory.
|
DEFAULT_ATTRIBUTE, DEFAULT_SCHEMElogger| 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, setPasswordSchemeauthenticate, getAuthenticationControls, processRequestControls, setAuthenticationControlsprivate ConnectionFactory factory
public CompareAuthenticationHandler()
public CompareAuthenticationHandler(ConnectionFactory cf)
cf - connection factorypublic ConnectionFactory getConnectionFactory()
ConnectionFactoryManagergetConnectionFactory in interface ConnectionFactoryManagerpublic void setConnectionFactory(ConnectionFactory cf)
ConnectionFactoryManagersetConnectionFactory in interface ConnectionFactoryManagercf - connection factoryprotected Connection getConnection() throws LdapException
AbstractCompareAuthenticationHandlergetConnection in class AbstractCompareAuthenticationHandlerLdapException - if an error occurs provisioning the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.