|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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(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(LdapDN bindDn)
Callback used to respond to password changes by invalidating a password cache if implemented. |
| Method Detail |
public java.lang.String getAuthenticatorType()
public void init(DirectoryServiceConfiguration factoryCfg,
AuthenticatorConfiguration cfg)
throws javax.naming.NamingException
AuthenticationService to indicate that this
authenticator is being placed into service.
javax.naming.NamingExceptionpublic void destroy()
AuthenticationService to indicate that this
authenticator is being removed from service.
public void invalidateCache(LdapDN bindDn)
bindDn - the already normalized distinguished name of the bind principal
public LdapPrincipal authenticate(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 | ||||||||||