|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Authenticates users who access ContextPartitionNexus
.
Authenticator
s 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(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(ContextFactoryConfiguration factoryCfg,
AuthenticatorConfiguration cfg)
Called by AuthenticationService to indicate that this
authenticator is being placed into service. |
Method Detail |
public java.lang.String getAuthenticatorType()
public void init(ContextFactoryConfiguration factoryCfg, AuthenticatorConfiguration cfg) throws javax.naming.NamingException
AuthenticationService
to indicate that this
authenticator is being placed into service.
javax.naming.NamingException
public void destroy()
AuthenticationService
to indicate that this
authenticator is being removed from service.
public LdapPrincipal authenticate(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 |