public interface ObligationHandler
Modifier and Type | Method and Description |
---|---|
boolean |
handleObligation(java.lang.String obligationId,
java.util.Map<java.lang.String,java.lang.Object> attributes,
RequestContext context,
boolean responseDecision)
Invoked when an authorization decision contains an obligation that is
mapped to this handler.
|
void |
shutdown()
Called on system shutdown or re-initialization of the Verify Access runtime.
|
void |
startup(java.util.Properties props)
Called on initialization.
|
void startup(java.util.Properties props)
props
- properties read from the configuration file.void shutdown()
boolean handleObligation(java.lang.String obligationId, java.util.Map<java.lang.String,java.lang.Object> attributes, RequestContext context, boolean responseDecision) throws ObligationHandlerException
obligationId
- The ID of the obligation.attributes
- The attributes defined in the obligation.context
- The current request context.responseDecision
- The current response decision. This is set to true if the
policy evaluation had returned permit, false if the policy
evaluation had returned deny.ObligationHandlerException
- If this method throws an exception then an INDETERMINATE
decision is sent to the PEP.