|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authenticator
Authenticates users who access DirectoryPartitionNexus
.
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(DirectoryServiceConfiguration factoryCfg,
AuthenticatorConfiguration cfg)
Called by AuthenticationService to indicate that this
authenticator is being placed into service. |
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.NamingException
void destroy()
AuthenticationService
to indicate that this
authenticator is being removed from service.
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 |