| org.esupportail.cas.server.util.BasicHandler org.esupportail.cas.server.handlers.example.ExampleHandler
ExampleHandler | final public class ExampleHandler extends BasicHandler (Code) | | This class implements a very simple handler accepting one
particular login/password.
author: Pascal Aubry |
Constructor Summary | |
public | ExampleHandler(Element handlerElement, Boolean configDebug) Analyse the XML configuration to set netId and password attributes (constructor). |
Method Summary | |
public int | authenticate(String userLogin, String userPassword) Try to authenticate a user (compare with the local credentials). |
ExampleHandler | public ExampleHandler(Element handlerElement, Boolean configDebug) throws Exception(Code) | | Analyse the XML configuration to set netId and password attributes (constructor).
Parameters: handlerElement - the XML element that declares the handler in the configuration file Parameters: configDebug - debugging mode of the global configuration (set by default to the handler) throws: Exception - when the handler not configured correctly |
authenticate | public int authenticate(String userLogin, String userPassword)(Code) | | Try to authenticate a user (compare with the local credentials).
Parameters: userLogin - the user's login Parameters: userPassword - the user's password BasicHandler.SUCCEDED on success, BasicHandler.FAILED_CONTINUE or BasicHandler.FAILED_STOP otherwise. |
|
|