public abstract class RoleMapperFactory
extends java.lang.Object
RoleMapper| Modifier and Type | Method | Description | 
|---|---|---|
abstract RoleMapper | 
getRoleMapper(java.lang.String appID,
             boolean remove) | 
 Returns a RoleMapper for the provided application ID, optionally
  removing all role and policy information from the RoleMapper
  before returning it. 
 | 
abstract RoleMapper | 
getRoleMapper(java.lang.String appID,
             java.lang.String contextID,
             boolean remove) | 
 Returns a RoleMapper for the provided application ID, optionally
  removing all role and policy information from the RoleMapper
  before returning it. 
 | 
static RoleMapperFactory | 
getRoleMapperFactory() | 
 Returns an instance of a configured RoleMapperFactory
 (weblogic.security.jacc.RoleMapperFactory.provider). 
 | 
abstract RoleMapper | 
getRoleMapperForContextID(java.lang.String contextID) | 
 Returns a RoleMapper for the provided context ID. 
 | 
abstract void | 
removeRoleMapper(java.lang.String appID) | 
 Deletes a RoleMapper for the provided application ID, and any
  associated appID-to-contextID mappings. 
 | 
public static RoleMapperFactory getRoleMapperFactory() throws java.lang.ClassNotFoundException, javax.security.jacc.PolicyContextException
java.lang.ClassNotFoundExceptionjavax.security.jacc.PolicyContextExceptionpublic abstract RoleMapper getRoleMapper(java.lang.String appID, boolean remove)
appID - A String representing the application ID,
                        which is used to find the appropriate
                        RoleMapper. 
remove - A boolean indicating whether or not an empty
                    RoleMapper should be returned (without
                    any role to principal information).
public abstract RoleMapper getRoleMapper(java.lang.String appID, java.lang.String contextID, boolean remove)
appID - A String representing the application ID,
                        which is used to find the appropriate
                        RoleMapper. 
contextID - A String representing the contextID to associate
                    with the passed in appID.
remove - A boolean indicating whether or not an empty
                    RoleMapper should be returned (without
                    any role-to-principal information).
public abstract RoleMapper getRoleMapperForContextID(java.lang.String contextID)
contextID - A String representing the context ID, which is
                    used to find the appropriate RoleMapper.
public abstract void removeRoleMapper(java.lang.String appID)
appID - A String representing the appID, which is used
                    to find the appropriate RoleMapper.