| org.esupportail.cas.server.util.BasicHandler org.esupportail.cas.server.handlers.test.PasswordEqualsUsernameHandler
PasswordEqualsUsernameHandler | final public class PasswordEqualsUsernameHandler extends BasicHandler (Code) | | This class implements an 'password equals username' handler class. It is used by
GenericHandler for debugging purposes.
author: Pascal Aubry |
PasswordEqualsUsernameHandler | public PasswordEqualsUsernameHandler(Element handlerElement, Boolean configDebug)(Code) | | Constructor.
Parameters: handlerElement - the XML element that declares the handler in the configuration file Parameters: configDebug - debugging mode of the global configuration |
authenticate | public int authenticate(String username, String password)(Code) | | Try to authenticate a user.
Parameters: username - the user's name Parameters: password - the user's password BasicHandler.SUCCEDED if password equals username,or BasicHandler.FAILED_CONTINUE otherwise. |
|
|