|
OpenSAML-J 2.4.1-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xacml.ctx.provider.ObligationService
public class ObligationService
A service for evaluating the obligations within a context.
Constructor Summary | |
---|---|
ObligationService()
Constructor. |
Method Summary | |
---|---|
void |
addObligationhandler(BaseObligationHandler handler)
Adds an obligation handler to the list of registered handlers This method waits until a write lock is obtained for the set of registered obligation handlers. |
void |
addObligationhandler(Collection<BaseObligationHandler> handlers)
Adds a collection of obligation handler to the list of registered handlers This method waits until a write lock is obtained for the set of registered obligation handlers. |
Set<BaseObligationHandler> |
getObligationHandlers()
Gets the registered obligation handlers. |
protected Map<String,ObligationType> |
preprocessObligations(ObligationProcessingContext context)
Preprocesses the obligations returned within the result. |
void |
processObligations(ObligationProcessingContext context)
Processes the obligations within the effective XACML policy. |
void |
removeObligationHandler(BaseObligationHandler handler)
Removes an obligation handler from the list of registered handlers This method waits until a write lock is obtained for the set of registered obligation handlers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObligationService()
Method Detail |
---|
public Set<BaseObligationHandler> getObligationHandlers()
public void addObligationhandler(BaseObligationHandler handler)
handler
- the handler to add to the list of registered handlers.public void addObligationhandler(Collection<BaseObligationHandler> handlers)
handlers
- the collection of handlers to add to the list of registered handlers.public void removeObligationHandler(BaseObligationHandler handler)
handler
- the handler to remove from the list of registered handlers.public void processObligations(ObligationProcessingContext context) throws ObligationProcessingException
context
- current processing context
ObligationProcessingException
- thrown if there is a problem evaluating an obligationprotected Map<String,ObligationType> preprocessObligations(ObligationProcessingContext context)
ResultType.getDecision()
, and creates an index that maps obligation IDs to the
ObligationType
returned by the PDP.
context
- current processing context
|
OpenSAML-J 2.4.1-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |