Class OptionsRoleMappingProvider
- java.lang.Object
-
- org.jboss.security.mapping.providers.OptionsRoleMappingProvider
-
- All Implemented Interfaces:
MappingProvider<RoleGroup>
public class OptionsRoleMappingProvider extends Object implements MappingProvider<RoleGroup>
Role Mapping Provider that picks up the roles from the options and then appends them to the passed Group- Since:
- Aug 24, 2006
- Version:
- $Revision$
- Author:
- Anil Saldhana
-
-
Constructor Summary
Constructors Constructor Description OptionsRoleMappingProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(Map<String,Object> opt)Initialize the provider with the configured module optionsvoidperformMapping(Map<String,Object> contextMap, RoleGroup mappedObject)Map the passed objectvoidsetMappingResult(MappingResult<RoleGroup> res)Injected by the MappingContextbooleansupports(Class<?> p)Whether this mapping provider supports mapping T
-
-
-
Method Detail
-
init
public void init(Map<String,Object> opt)
Description copied from interface:MappingProviderInitialize the provider with the configured module options- Specified by:
initin interfaceMappingProvider<RoleGroup>
-
setMappingResult
public void setMappingResult(MappingResult<RoleGroup> res)
Description copied from interface:MappingProviderInjected by the MappingContext- Specified by:
setMappingResultin interfaceMappingProvider<RoleGroup>
-
performMapping
public void performMapping(Map<String,Object> contextMap, RoleGroup mappedObject)
Description copied from interface:MappingProviderMap the passed object- Specified by:
performMappingin interfaceMappingProvider<RoleGroup>- Parameters:
contextMap- A read-only contextual map that can provide information to the providermappedObject- an Object on which the mapping will be applied
-
supports
public boolean supports(Class<?> p)
Description copied from interface:MappingProviderWhether this mapping provider supports mapping T- Specified by:
supportsin interfaceMappingProvider<RoleGroup>- Returns:
- See Also:
MappingProvider.supports(Class)
-
-