IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.security.authorization
Interface RoleConfigurationFactory


public interface RoleConfigurationFactory


Method Summary
 RoleConfiguration getRoleConfiguration(java.lang.String contextID, boolean remove)
          This gets a RoleConfiguration with contextID from the RoleConfigurationfactory.
 

Method Detail

getRoleConfiguration

RoleConfiguration getRoleConfiguration(java.lang.String contextID,
                                       boolean remove)
                                       throws RoleConfigurationException
This gets a RoleConfiguration with contextID from the RoleConfigurationfactory. If the RoleConfiguration doesn't exist for the contextID in the RoleConfigurationFactory, a new RoleConfiguration with contextID will be created in the RoleConfigurationFactory. Please note the contextID is similar to PolicyContextID, but it doesn't contain the module name. If remove is true, the old RoleConfiguration is removed and a new RoleConfiguration will be created and return with the contextID.

Parameters:
contextID - the context ID of RoleConfiguration
remove - true or false
Throws:
RoleConfigurationException - if RoleConfiguration can't be gotten.

IBM WebSphere Application ServerTM
Release 7