|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xacml.ctx.provider.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)
Constructor. |
protected |
BaseObligationHandler(java.lang.String obligationId,
int handlerPrecedence)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
abstract void |
evaluateObligation(ObligationProcessingContext context,
ObligationType obligation)
Evaluates the obligation represented by this handler. |
int |
getHandlerPrecedence()
Gets the precedence of the handler. |
java.lang.String |
getObligationId()
Gets the ID of the handled obligation. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BaseObligationHandler(java.lang.String obligationId)
obligationId
- ID of the handled obligationprotected BaseObligationHandler(java.lang.String obligationId, int handlerPrecedence)
obligationId
- ID of the handled obligationhandlerPrecedence
- precedence of this handlerMethod Detail |
---|
public java.lang.String getObligationId()
public int getHandlerPrecedence()
public abstract void evaluateObligation(ObligationProcessingContext context, ObligationType obligation) throws ObligationProcessingException
context
- current processing contextobligation
- the obligation as returned by the PDP
ObligationProcessingException
- thrown if there is a problem evaluating this handlerpublic 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 |