Package org.glassfish.deployment.common
Interface SecurityRoleMapperFactory
-
@Contract public interface SecurityRoleMapperFactory- Author:
- dochez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAppNameForContext(String contextId)Returns the appname for this particular context id.SecurityRoleMappergetRoleMapper(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 Detail
-
getRoleMapper
SecurityRoleMapper getRoleMapper(String appName)
Returns a RoleMapper corresponding to the AppName.- Parameters:
The- Application Name of this RoleMapper.
-
removeRoleMapper
void removeRoleMapper(String appName)
remove the RoleMapping associated with this application- Parameters:
the- application name for this RoleMapper
-
setRoleMapper
void setRoleMapper(String appName, SecurityRoleMapper rmap)
Sets a new RoleMapper for a particular Application- Parameters:
the- application namethe- new role mapper
-
getAppNameForContext
String getAppNameForContext(String contextId)
Returns the appname for this particular context id. Used in context of a web application
-
setAppNameForContext
void setAppNameForContext(String appName, String contextId)
stores the appname for this particular context id. Used in the context of a web application
-
removeAppNameForContext
void removeAppNameForContext(String contextId)
removes the link between contextId and the appname
-
-