Class DefaultAttributeMappingProvider
- java.lang.Object
-
- org.jboss.security.mapping.providers.attribute.DefaultAttributeMappingProvider
-
- All Implemented Interfaces:
MappingProvider<List<Attribute<String>>>
public class DefaultAttributeMappingProvider extends Object implements MappingProvider<List<Attribute<String>>>
Generates an attribute array from the passed options- Author:
- Anil.Saldhana@redhat.com
-
-
Constructor Summary
Constructors Constructor Description DefaultAttributeMappingProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(Map<String,Object> options)Initialize the provider with the configured module optionsvoidperformMapping(Map<String,Object> map, List<Attribute<String>> mappedObject)Map the passed objectvoidsetMappingResult(MappingResult<List<Attribute<String>>> result)Injected by the MappingContextbooleansupports(Class<?> clazz)Whether this mapping provider supports mapping T
-
-
-
Method Detail
-
init
public void init(Map<String,Object> options)
Description copied from interface:MappingProviderInitialize the provider with the configured module options- Specified by:
initin interfaceMappingProvider<List<Attribute<String>>>
-
performMapping
public void performMapping(Map<String,Object> map, List<Attribute<String>> mappedObject)
Description copied from interface:MappingProviderMap the passed object- Specified by:
performMappingin interfaceMappingProvider<List<Attribute<String>>>- Parameters:
map- A read-only contextual map that can provide information to the providermappedObject- an Object on which the mapping will be applied
-
setMappingResult
public void setMappingResult(MappingResult<List<Attribute<String>>> result)
Description copied from interface:MappingProviderInjected by the MappingContext- Specified by:
setMappingResultin interfaceMappingProvider<List<Attribute<String>>>
-
supports
public boolean supports(Class<?> clazz)
Description copied from interface:MappingProviderWhether this mapping provider supports mapping T- Specified by:
supportsin interfaceMappingProvider<List<Attribute<String>>>- Returns:
-
-