com.ibm.sec.authz.jaccplus

Class ObligationManager

  1. java.lang.Object
  2. extended bycom.ibm.sec.authz.jaccplus.ObligationManager
All implemented interfaces:
IObligationManager

  1. public class ObligationManager
  2. extends java.lang.Object
  3. implements IObligationManager
An implementation of the IObligationManager interface.

Field Summary

Fields inherited from interface com.ibm.sec.authz.jaccplus.IObligationManager
OBLIGATION_MANAGER_KEY

Constructor Summary

Constructor and Description
ObligationManager()

Method Summary

Modifier and Type Method and Description
  1. IContextObligationHandler
getObligationHandler(java.lang.String obligationId)
  1. void
registerObligationHandler(java.lang.String obligationId,IContextObligationHandler o)
  1. boolean
supportsObligation(java.lang.String obligationId)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ObligationManager

  1. public ObligationManager()

Method Detail

getObligationHandler

  1. public IContextObligationHandler getObligationHandler( java.lang.String obligationId)
  2. throws PolicyContextException
Description copied from interface: IObligationManager
Method for retrieving all of the registered handlers from the context.
Specified by:
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.

registerObligationHandler

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

supportsObligation

  1. public boolean supportsObligation( java.lang.String obligationId)
Description copied from interface: IObligationManager
Method for checking if whether or not this handler implementation can retrieve an attribute.
Specified by:
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.