|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticationHandler
AuthenticationHandler provides an interface for LDAP
authentication implementations.
| Method Summary | |
|---|---|
void |
authenticate(ConnectionHandler ch,
AuthenticationCriteria ac)
Perform an ldap authentication. |
AuthenticationHandler |
newInstance()
Returns a separate instance of this authentication handler. |
void |
setAuthenticatorConfig(AuthenticatorConfig ac)
Sets the authenticator configuration. |
| Method Detail |
|---|
void setAuthenticatorConfig(AuthenticatorConfig ac)
ac - authenticator config
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.
ch - ConnectionHandler to communicate with the LDAPac - AuthenticationCriteria to perform the
authentication with
AuthenticationException - if authentication fails
NamingException - if an LDAP error occursAuthenticationHandler newInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||