com.ibm.sec.authz.jaccplus
Class ObligationManager
- java.lang.Object
com.ibm.sec.authz.jaccplus.ObligationManager
All implemented interfaces:
- public class ObligationManager
- extends java.lang.Object
- implements IObligationManager
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 |
---|---|
getObligationHandler(java.lang.String obligationId)
|
|
|
registerObligationHandler(java.lang.String obligationId,IContextObligationHandler o)
|
|
supportsObligation(java.lang.String obligationId)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
ObligationManager
- public ObligationManager()
Method Detail
getObligationHandler
- public IContextObligationHandler getObligationHandler( java.lang.String obligationId)
- throws PolicyContextException
Method for retrieving all of the registered handlers from the context.
Specified by:
getObligationHandler
in interface IObligationManager
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
- public void registerObligationHandler( java.lang.String obligationId,
- IContextObligationHandler o)
Description copied from interface:
IObligationManager
Method for adding Obligation handlers to the context.
Specified by:
registerObligationHandler
in interface IObligationManager
Parameters:
obligationId
- The string identifier of the obligation to be
registered. o
- The obligation handler to be registered. supportsObligation
- 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:
supportsObligation
in interface IObligationManager
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.
IObligationManager