|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines methods that all Authenticators must implement.
An AuthenticationService is a program that performs client authentication based on the authentication method/type that the client specifies in the JNDI properties.
To implement this interface, you can write an authenticator that extends org.apache.ldap.server.authn.AbstractAuthenticator.
AbstractAuthenticator
Method Summary | |
LdapPrincipal |
authenticate(ServerContext ctx)
Perform the authentication operation and return the authorization id if successfull. |
AuthenticatorConfig |
getAuthenticatorConfig()
|
java.lang.String |
getAuthenticatorType()
|
void |
init(AuthenticatorConfig authenticatorConfig)
Called by the authenticator container to indicate that the authenticator is being placed into service. |
Method Detail |
public AuthenticatorConfig getAuthenticatorConfig()
public java.lang.String getAuthenticatorType()
public void init(AuthenticatorConfig authenticatorConfig) throws javax.naming.NamingException
authenticatorConfig
-
javax.naming.NamingException
public LdapPrincipal authenticate(ServerContext ctx) throws javax.naming.NamingException
ctx
-
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |