|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.esupportail.cas.server.util.log.Debug
org.esupportail.cas.server.util.BasicHandler
org.esupportail.cas.server.handlers.test.PasswordEqualsUsernameHandler
public final class PasswordEqualsUsernameHandler
This class implements an 'password equals username' handler class. It is used by GenericHandler for debugging purposes.
| Field Summary |
|---|
| Fields inherited from class org.esupportail.cas.server.util.BasicHandler |
|---|
FAILED_CONTINUE, FAILED_STOP, SUCCEEDED |
| Constructor Summary | |
|---|---|
PasswordEqualsUsernameHandler(org.dom4j.Element handlerElement,
java.lang.Boolean configDebug)
Constructor. |
|
| Method Summary | |
|---|---|
int |
authenticate(java.lang.String username,
java.lang.String password)
Try to authenticate a user. |
| Methods inherited from class org.esupportail.cas.server.util.BasicHandler |
|---|
checkConfigElement, getConfigElement, getConfigSubElementContent, hasConfigSubElement |
| Methods inherited from class org.esupportail.cas.server.util.log.Debug |
|---|
checkClass, elementDebugValue, isDebug, setDebug, trace, trace, traceBegin, traceEnd, traceEnd, traceEnd, traceThrow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordEqualsUsernameHandler(org.dom4j.Element handlerElement,
java.lang.Boolean configDebug)
handlerElement - the XML element that declares the handler
in the configuration fileconfigDebug - debugging mode of the global configuration| Method Detail |
|---|
public int authenticate(java.lang.String username,
java.lang.String password)
authenticate in class BasicHandlerusername - the user's namepassword - the user's password
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||