Package org.glassfish.deployment.common
Interface SecurityRoleMapperFactory
@Contract
public interface SecurityRoleMapperFactory
- Author:
- dochez
-
Method Summary
Modifier and TypeMethodDescriptiongetAppNameForContext(String contextId) Returns the appname for this particular context id.getRoleMapper(String appName) Returns a RoleMapper corresponding to the AppName.voidremoveAppNameForContext(String contextId) removes the link between contextId and the appnamevoidremoveRoleMapper(String appName) remove the RoleMapping associated with this applicationvoidsetAppNameForContext(String appName, String contextId) stores the appname for this particular context id.voidsetRoleMapper(String appName, SecurityRoleMapper rmap) Sets a new RoleMapper for a particular Application
-
Method Details
-
getRoleMapper
Returns a RoleMapper corresponding to the AppName.- Parameters:
The- Application Name of this RoleMapper.
-
removeRoleMapper
remove the RoleMapping associated with this application- Parameters:
the- application name for this RoleMapper
-
setRoleMapper
Sets a new RoleMapper for a particular Application- Parameters:
the- application namethe- new role mapper
-
getAppNameForContext
Returns the appname for this particular context id. Used in context of a web application -
setAppNameForContext
stores the appname for this particular context id. Used in the context of a web application -
removeAppNameForContext
removes the link between contextId and the appname
-