|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.authz.pep.obligation.BaseObligationHandler
public abstract class BaseObligationHandler
Base class for all obligation handlers. Handlers are executed in order of precedence. Handlers with a higher precedence are executed before those with a lower precedence. Handlers with the same precedence are executed in random order. Obligation handlers must be stateless.
Constructor Summary | |
---|---|
protected |
BaseObligationHandler(java.lang.String obligationId)
Deprecated. use the new constructor #AbstractObligationHandler(String, String) |
protected |
BaseObligationHandler(java.lang.String name,
java.lang.String obligationId)
Constructor. |
protected |
BaseObligationHandler(java.lang.String name,
java.lang.String obligationId,
int handlerPrecedence)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getHandlerPrecedence()
Gets the precedence of the handler. |
java.lang.String |
getId()
Gets a unique identifier (name) for this obligation handle. |
java.lang.String |
getObligationId()
Gets the ID of the handled obligation. |
int |
hashCode()
|
protected void |
setId(java.lang.String id)
Sets the obligation handler unique identifier (name) |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.glite.authz.pep.obligation.ObligationHandler |
---|
evaluateObligation |
Constructor Detail |
---|
protected BaseObligationHandler(java.lang.String obligationId)
#AbstractObligationHandler(String, String)
obligationId
- ID of the handled obligationprotected BaseObligationHandler(java.lang.String name, java.lang.String obligationId)
name
- the obligation handler unique identifier (name)obligationId
- ID of the handled obligationprotected BaseObligationHandler(java.lang.String name, java.lang.String obligationId, int handlerPrecedence)
name
- the obligation handler unique identifier (name)obligationId
- ID of the handled obligationhandlerPrecedence
- precedence of this handler, must be 0 or greaterMethod Detail |
---|
public java.lang.String getObligationId()
getObligationId
in interface org.glite.authz.pep.obligation.ObligationHandler
public int getHandlerPrecedence()
getHandlerPrecedence
in interface org.glite.authz.pep.obligation.ObligationHandler
public java.lang.String getId()
getId
in interface org.glite.authz.pep.obligation.ObligationHandler
protected void setId(java.lang.String id)
id
- the obligation handler unique identifier (name)public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |