FileDocCategorySizeDatePackage
SecurityRoleMapperFactory.javaAPI DocGlassfish v2 API3190Fri May 04 22:31:36 BST 2007com.sun.enterprise.deployment.interfaces

SecurityRoleMapperFactory

public interface SecurityRoleMapperFactory
author
dochez

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAppNameForContext(java.lang.String contextId)
Returns the appname for this particular context id. Used in context of a web application

public SecurityRoleMappergetRoleMapper(java.lang.String appName)
Returns a RoleMapper corresponding to the AppName.

param
The Application Name of this RoleMapper.

public voidremoveAppNameForContext(java.lang.String contextId)
removes the link between contextId and the appname

public voidremoveRoleMapper(java.lang.String appName)
remove the RoleMapping associated with this application

param
the application name for this RoleMapper

public voidsetAppNameForContext(java.lang.String appName, java.lang.String contextId)
stores the appname for this particular context id. Used in the context of a web application

public voidsetRoleMapper(java.lang.String appName, SecurityRoleMapper rmap)
Sets a new RoleMapper for a particular Application

param
the application name
param
the new role mapper