com.ibm.sec.authz.jaccplus

Interface IAuthzProvider


  1. public interface IAuthzProvider
This is an internal interface.

Method Summary

Modifier and Type Method and Description
  1. Response
evaluate(Request r,java.lang.String contextID)
Makes the actual evaluation decision.
  1. EntitlementResponse
getEntitlements(EntitlementRequest r,java.lang.String contextID)
Makes an entitlements call.
  1. 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.
  1. void
refresh()
Refreshes the underlying policy.
  1. void
shutdown()
Called on JACC cleanup().
  1. void
startup()
Called on JACC initialization (if used as a JACC provider) or before the first authorization request.
  1. void
unlockPolicy(java.lang.String context)
Unlocks the policy for the given context.

Method Detail

startup

  1. void startup()
Called on JACC initialization (if used as a JACC provider) or before the first authorization request.

shutdown

  1. void shutdown()
Called on JACC cleanup().

evaluate

  1. Response evaluate(Request r,
  2. 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

  1. EntitlementResponse getEntitlements( EntitlementRequest r,
  2. 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

  1. 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

  1. void unlockPolicy(java.lang.String context)
Unlocks the policy for the given context.
Parameters:
context - The context under which to unlock the policy.

refresh

  1. void refresh()
Refreshes the underlying policy.