|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Authenticator
Authenticates users who access PartitionNexus.
Authenticators are registered to and configured by
AuthenticationService interceptor.
AuthenticationService authenticates users by calling
#authenticate(ServerContext), and then Authenticator
checks JNDI Context environment properties
(Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS)
of current Context.
AbstractAuthenticator| Method Summary | |
|---|---|
LdapPrincipal |
authenticate(org.apache.directory.shared.ldap.name.LdapDN bindDn,
ServerContext ctx)
Performs authentication and returns the principal if succeeded. |
void |
destroy()
Called by AuthenticationService to indicate that this
authenticator is being removed from service. |
java.lang.String |
getAuthenticatorType()
Returns the type of this authenticator (e.g. |
void |
init(DirectoryServiceConfiguration factoryCfg,
AuthenticatorConfiguration cfg)
Called by AuthenticationService to indicate that this
authenticator is being placed into service. |
void |
invalidateCache(org.apache.directory.shared.ldap.name.LdapDN bindDn)
Callback used to respond to password changes by invalidating a password cache if implemented. |
| Method Detail |
|---|
java.lang.String getAuthenticatorType()
void init(DirectoryServiceConfiguration factoryCfg,
AuthenticatorConfiguration cfg)
throws javax.naming.NamingException
AuthenticationService to indicate that this
authenticator is being placed into service.
javax.naming.NamingExceptionvoid destroy()
AuthenticationService to indicate that this
authenticator is being removed from service.
void invalidateCache(org.apache.directory.shared.ldap.name.LdapDN bindDn)
bindDn - the already normalized distinguished name of the bind principal
LdapPrincipal authenticate(org.apache.directory.shared.ldap.name.LdapDN bindDn,
ServerContext ctx)
throws javax.naming.NamingException
javax.naming.NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||