| org.esupportail.cas.server.handlers.ldap.LdapServer org.esupportail.cas.server.handlers.ldap.FastBindLdapServer
FastBindLdapServer | final public class FastBindLdapServer extends LdapServer (Code) | | This class implements an LDAP server class, which can
authenticate users by directly binding to an LDAP directory
(fastbind method). It is used by FastBindLdapHandler.
author: Pascal Aubry |
Method Summary | |
public int | authenticate(String username, String password) Try to authenticate a user (by binding to the LDAP directory). |
FastBindLdapServer | public FastBindLdapServer(Boolean handlerDebug, RedundantHandler handler, Element serverElement) throws Exception(Code) | | Constructor.
Parameters: handlerDebug - debugging mode of the handler Parameters: handler - the handler the server will be used by Parameters: serverElement - the XML element that declares the server throws: Exception - Exception |
authenticate | public int authenticate(String username, String password)(Code) | | Try to authenticate a user (by binding to the LDAP directory).
Parameters: username - the user's name Parameters: password - the user's password Server.AUTHENTICATE_SUCCESS, Server.AUTHENTICATE_NOAUTHor Server.AUTHENTICATE_FAILURE. |
|
|