public class ObligationService extends Object
| コンストラクタと説明 |
|---|
ObligationService()
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
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 contextObligationProcessingException - 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 contextCopyright © 2012. All Rights Reserved.