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