|
||||||||||
| 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
public abstract class AbstractCompareAuthenticationHandler
Provides implementation common to compare authentication handlers.
| Field Summary | |
|---|---|
protected static String |
DEFAULT_SCHEME
Default password scheme. |
| Fields inherited from class org.ldaptive.auth.AbstractAuthenticationHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
AbstractCompareAuthenticationHandler()
|
|
| Method Summary | |
|---|---|
protected AuthenticationHandlerResponse |
authenticateInternal(Connection c,
AuthenticationCriteria criteria)
Authenticate on the supplied connection using the supplied criteria. |
protected abstract Connection |
getConnection()
Returns a connection that the compare operation should be performed on. |
String |
getPasswordScheme()
Returns the password scheme. |
void |
setPasswordScheme(String s)
Sets the password scheme. |
| 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, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String DEFAULT_SCHEME
| Constructor Detail |
|---|
public AbstractCompareAuthenticationHandler()
| Method Detail |
|---|
public String getPasswordScheme()
public void setPasswordScheme(String s)
s - password scheme
protected AuthenticationHandlerResponse authenticateInternal(Connection c,
AuthenticationCriteria criteria)
throws LdapException
authenticateInternal in class AbstractAuthenticationHandlerc - to authenticate oncriteria - criteria to authenticate with
LdapException - if the authentication fails
protected abstract Connection getConnection()
throws LdapException
getConnection in class AbstractAuthenticationHandlerLdapException - if an error occurs provisioning the connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||