|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.AbstractAuthenticationHandler
org.ldaptive.auth.AbstractCompareAuthenticationHandler
org.ldaptive.auth.PooledCompareAuthenticationHandler
public class PooledCompareAuthenticationHandler
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'.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.auth.AbstractCompareAuthenticationHandler |
|---|
DEFAULT_SCHEME |
| Fields inherited from class org.ldaptive.auth.AbstractAuthenticationHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
PooledCompareAuthenticationHandler()
Default constructor. |
|
PooledCompareAuthenticationHandler(PooledConnectionFactory cf)
Creates a new pooled compare authentication handler. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.ldaptive.auth.AbstractCompareAuthenticationHandler |
|---|
authenticateInternal, getPasswordScheme, setPasswordScheme |
| Methods inherited from class org.ldaptive.auth.AbstractAuthenticationHandler |
|---|
authenticate, getAuthenticationControls, setAuthenticationControls |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PooledCompareAuthenticationHandler()
public PooledCompareAuthenticationHandler(PooledConnectionFactory cf)
cf - connection factory| Method Detail |
|---|
public PooledConnectionFactory getConnectionFactory()
getConnectionFactory in interface PooledConnectionFactoryManagerpublic void setConnectionFactory(PooledConnectionFactory cf)
setConnectionFactory in interface PooledConnectionFactoryManagercf - connection factory
protected Connection getConnection()
throws LdapException
getConnection in class AbstractCompareAuthenticationHandlerLdapException - if an error occurs provisioning the connectionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||