com.ibm.wsspi.security.authorization

Interface RoleConfigurationFactory



  • public interface RoleConfigurationFactory
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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 8.5