|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authenticator
Authenticates users who access PartitionNexus
.
Authenticator
s are registered to and configured by
AuthenticationInterceptor
interceptor.
AuthenticationInterceptor
authenticates users by calling
#authenticate(LdapDN,ServerContext)
, and then Authenticator
checks JNDI Context
environment properties
(Context.SECURITY_PRINCIPAL
and Context.SECURITY_CREDENTIALS
)
of current Context
.
AbstractAuthenticator
Method Summary | |
---|---|
LdapPrincipal |
authenticate(BindOperationContext opContext)
Performs authentication and returns the principal if succeeded. |
void |
destroy()
Called by AuthenticationInterceptor to indicate that this
authenticator is being removed from service. |
java.lang.String |
getAuthenticatorType()
Returns the type of this authenticator (e.g. |
void |
init(DirectoryService directoryService)
Called by AuthenticationInterceptor 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(DirectoryService directoryService) throws java.lang.Exception
AuthenticationInterceptor
to indicate that this
authenticator is being placed into service.
java.lang.Exception
void destroy()
AuthenticationInterceptor
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 principalLdapPrincipal authenticate(BindOperationContext opContext) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |