| org.esupportail.cas.server.util.BasicHandler org.esupportail.cas.server.handlers.file.FileHandler
FileHandler | final public class FileHandler extends BasicHandler (Code) | | The specific Handler for file.
author: Pascal Aubry author: Jean-Baptiste Daniel |
Constructor Summary | |
public | FileHandler(Element handlerElement, Boolean configDebug) Constructor. |
Method Summary | |
public int | authenticate(String username, String password) Try to authenticate a user (by searching into a file). |
FileHandler | public FileHandler(Element handlerElement, Boolean configDebug) throws Exception(Code) | | Constructor.
Parameters: handlerElement - the XML element that declares the handler in the configuration file Parameters: configDebug - debugging mode of the global configuration throws: Exception - Exception |
authenticate | public int authenticate(String username, String password)(Code) | | Try to authenticate a user (by searching into a file).
Parameters: username - the user's name Parameters: password - the user's password BasicHandler.SUCCEDED on success, or BasicHandler.FAILED_CONTINUE otherwise. |
|
|