public class PooledCompareAuthenticationHandler extends AbstractCompareAuthenticationHandler implements PooledConnectionFactoryManager
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, getPasswordScheme, setPasswordScheme
authenticate, getAuthenticationControls, setAuthenticationControls
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 © 2021. All rights reserved.