|
||||||||
| 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.reject.RejectHandler
public final class RejectHandler
This class implements an reject handler handler class. It is used by GenericHandler to exclude registred users.
| Field Summary | |
|---|---|
private java.lang.String |
userId
The id of the user that will be rejected. |
| Fields inherited from class org.esupportail.cas.server.util.BasicHandler |
|---|
FAILED_CONTINUE, FAILED_STOP, SUCCEEDED |
| Constructor Summary | |
|---|---|
RejectHandler(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 |
| Field Detail |
|---|
private java.lang.String userId
| Constructor Detail |
|---|
public RejectHandler(org.dom4j.Element handlerElement,
java.lang.Boolean configDebug)
throws java.lang.Exception
handlerElement - the XML element that declares the handler
in the configuration fileconfigDebug - debugging mode of the global configuration
java.lang.Exception - Exception| 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 | |||||||