| org.esupportail.cas.server.handlers.database.DatabaseServer org.esupportail.cas.server.handlers.database.BindDatabaseServer
BindDatabaseServer | final public class BindDatabaseServer extends DatabaseServer (Code) | | This class implements a database server class, which can
authenticate users by binding to a database. It is used by
BindDatabaseHandler.
author: Pascal Aubry author: Jean-Baptiste Daniel |
Method Summary | |
public int | authenticate(String username, String password) Try to authenticate a user (by binding to the database). |
BindDatabaseServer | public BindDatabaseServer(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 database).
Parameters: username - the user's name Parameters: password - the user's password Server.AUTHENTICATE_SUCCESS, Server.AUTHENTICATE_NOAUTHor Server.AUTHENTICATE_FAILURE. |
|
|