|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ldap.server.authn.AbstractAuthenticator
org.apache.ldap.server.authn.SimpleAuthenticator
A simple Authenticator
that authenticates clear text passwords
contained within the userPassword
attribute in DIT.
Constructor Summary | |
SimpleAuthenticator()
Creates a new instance. |
Method Summary | |
LdapPrincipal |
authenticate(ServerContext ctx)
Looks up userPassword attribute of the entry whose name is the value of Context.SECURITY_PRINCIPAL environment variable,
and authenticates a user with the plain-text password. |
Methods inherited from class org.apache.ldap.server.authn.AbstractAuthenticator |
createLdapPrincipal, destroy, doDestroy, doInit, getAuthenticatorType, getConfiguration, getFactoryConfiguration, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleAuthenticator()
Method Detail |
public LdapPrincipal authenticate(ServerContext ctx) throws javax.naming.NamingException
Context.SECURITY_PRINCIPAL
environment variable,
and authenticates a user with the plain-text password.
authenticate
in interface Authenticator
authenticate
in class AbstractAuthenticator
javax.naming.NamingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |