|
||||||||||
| 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.CompareAuthenticationHandler
public class CompareAuthenticationHandler
Provides an LDAP authentication implementation that leverages a 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 | |
|---|---|
CompareAuthenticationHandler()
Default constructor. |
|
CompareAuthenticationHandler(ConnectionFactory cf)
Creates a new compare authentication handler. |
|
| Method Summary | |
|---|---|
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()
|
| 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 CompareAuthenticationHandler()
public CompareAuthenticationHandler(ConnectionFactory cf)
cf - connection factory| Method Detail |
|---|
public ConnectionFactory getConnectionFactory()
getConnectionFactory in interface ConnectionFactoryManagerpublic void setConnectionFactory(ConnectionFactory cf)
setConnectionFactory in interface ConnectionFactoryManagercf - 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 | |||||||||