com.ibm.sec.authz.jaccplus
Interface IAuthzProvider
- public interface IAuthzProvider
Method Summary
Modifier and Type | Method and Description |
---|---|
|
evaluate(Request r,java.lang.String contextID)
Makes the actual evaluation decision.
|
|
getEntitlements(EntitlementRequest r,java.lang.String contextID)
Makes an entitlements call.
|
|
lockPolicy(java.lang.String context)
Locks the policy for the given context so that a series of evaluate()
requests are evaluated against the same policy.
|
|
refresh()
Refreshes the underlying policy.
|
|
shutdown()
Called on JACC cleanup().
|
|
startup()
Called on JACC initialization (if used as a JACC provider) or before
the first authorization request.
|
|
unlockPolicy(java.lang.String context)
Unlocks the policy for the given context.
|
Method Detail
startup
- void startup()
Called on JACC initialization (if used as a JACC provider) or before
the first authorization request.
shutdown
- void shutdown()
Called on JACC cleanup().
evaluate
- Response evaluate(Request r,
- java.lang.String contextID)
Makes the actual evaluation decision.
Parameters:
r
- The XACML request. contextID
- The context under which to make the
evaluation decision. Returns:
Response
getEntitlements
- EntitlementResponse getEntitlements( EntitlementRequest r,
- java.lang.String contextID)
Makes an entitlements call.
Parameters:
r
- The XACML request. contextID
- The context under which to make the entitlements call. Returns:
the response to the entitlement query.
lockPolicy
- void lockPolicy(java.lang.String context)
Locks the policy for the given context so that a series of evaluate()
requests are evaluated against the same policy.
Parameters:
context
- The context under which to lock the policy. unlockPolicy
- void unlockPolicy(java.lang.String context)
Unlocks the policy for the given context.
Parameters:
context
- The context under which to unlock the policy. refresh
- void refresh()
Refreshes the underlying policy.