com.ibm.sec.authz.jaccplus

Interface IObligationManager

All known implementing classes:
ObligationManager

  1. public interface IObligationManager
This class provides the interface to the Obligations manager for obligation support. It registers obligation handlers, returns all registered handlers, and checks whether or not a handler's implementation can retrieve a specific attribute.

This class is implemented by ObligationManager.

See Also:
ObligationManager

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
OBLIGATION_MANAGER_KEY
The context key for storing the handlers in the container.

Method Summary

Modifier and Type Method and Description
  1. IContextObligationHandler
getObligationHandler(java.lang.String obligationId)
Method for retrieving all of the registered handlers from the context.
  1. void
registerObligationHandler(java.lang.String obligationId,IContextObligationHandler o)
Method for adding Obligation handlers to the context.
  1. boolean
supportsObligation(java.lang.String obligationId)
Method for checking if whether or not this handler implementation can retrieve an attribute.

Field Detail

OBLIGATION_MANAGER_KEY

  1. static final java.lang.String OBLIGATION_MANAGER_KEY
The context key for storing the handlers in the container.
See Also:

Method Detail

getObligationHandler

  1. IContextObligationHandler getObligationHandler( java.lang.String obligationId)
  2. throws PolicyContextException
Method for retrieving all of the registered handlers from the context.
Parameters:
obligationId - The string identifier of the obligation
Returns:
all of the handlers registered for the specified obligation.
Throws:
PolicyContextException - - if the Obligation is not handled.

supportsObligation

  1. boolean supportsObligation(java.lang.String obligationId)
Method for checking if whether or not this handler implementation can retrieve an attribute.
Parameters:
obligationId - The string identifier of the obligation for the attribute to be retrieved.
Returns:
true if the handler implementation can retrieve the specified attribute, false otherwise.

registerObligationHandler

  1. void registerObligationHandler( java.lang.String obligationId,
  2. IContextObligationHandler o)
Method for adding Obligation handlers to the context.
Parameters:
obligationId - The string identifier of the obligation to be registered.
o - The obligation handler to be registered.