org.ldaptive.auth
Class PooledCompareAuthenticationHandler
java.lang.Object
org.ldaptive.auth.AbstractAuthenticationHandler
org.ldaptive.auth.AbstractCompareAuthenticationHandler
org.ldaptive.auth.PooledCompareAuthenticationHandler
- All Implemented Interfaces:
- AuthenticationHandler, PooledConnectionFactoryManager
public class PooledCompareAuthenticationHandler
- extends AbstractCompareAuthenticationHandler
- implements PooledConnectionFactoryManager
Provides an LDAP authentication implementation that leverages a pool of ldap
connections to perform the compare operation against the userPassword
attribute. The default password scheme used is 'SHA'.
- Version:
- $Revision: 3153 $ $Date: 2016-07-28 18:08:55 -0400 (Thu, 28 Jul 2016) $
- Author:
- Middleware Services
PooledCompareAuthenticationHandler
public PooledCompareAuthenticationHandler()
- Default constructor.
PooledCompareAuthenticationHandler
public PooledCompareAuthenticationHandler(PooledConnectionFactory cf)
- Creates a new pooled compare authentication handler.
- Parameters:
cf - connection factory
getConnectionFactory
public PooledConnectionFactory getConnectionFactory()
- Returns the connection factory.
- Specified by:
getConnectionFactory in interface PooledConnectionFactoryManager
- Returns:
- connection factory
setConnectionFactory
public void setConnectionFactory(PooledConnectionFactory cf)
- Sets the connection factory.
- Specified by:
setConnectionFactory in interface PooledConnectionFactoryManager
- Parameters:
cf - connection factory
getConnection
protected Connection getConnection()
throws LdapException
- Returns a connection that the compare operation should be performed on.
- Specified by:
getConnection in class AbstractCompareAuthenticationHandler
- Returns:
- connection
- Throws:
LdapException - if an error occurs provisioning the connection
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2003-2017 Virginia Tech. All Rights Reserved.