|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.auth.handler.AbstractAuthenticationHandler
public abstract class AbstractAuthenticationHandler
AbstractAuthenticationHandler provides a base implementation for authentication handlers.
| Field Summary | |
|---|---|
protected AuthenticatorConfig |
config
Authenticator configuration. |
protected org.apache.commons.logging.Log |
logger
Log for this class. |
| Constructor Summary | |
|---|---|
AbstractAuthenticationHandler()
|
|
| Method Summary | |
|---|---|
abstract void |
authenticate(ConnectionHandler ch,
AuthenticationCriteria ac)
Perform an ldap authentication. |
abstract AuthenticationHandler |
newInstance()
Returns a separate instance of this authentication handler. |
void |
setAuthenticatorConfig(AuthenticatorConfig ac)
Sets the authenticator configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
protected AuthenticatorConfig config
| Constructor Detail |
|---|
public AbstractAuthenticationHandler()
| Method Detail |
|---|
public void setAuthenticatorConfig(AuthenticatorConfig ac)
setAuthenticatorConfig in interface AuthenticationHandlerac - authenticator config
public abstract void authenticate(ConnectionHandler ch,
AuthenticationCriteria ac)
throws NamingException
AuthenticationException to indicate an authentication failure. The
resulting LdapContext can be retrieved from the connection
handler if it is needed.
authenticate in interface AuthenticationHandlerch - ConnectionHandler to communicate with the LDAPac - AuthenticationCriteria to perform the
authentication with
NamingException - if an LDAP error occurspublic abstract AuthenticationHandler newInstance()
newInstance in interface AuthenticationHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||