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 void
init(Map<String,Object> options)
Initialize the provider with the configured module optionsvoid
performMapping(Map<String,Object> map, List<Attribute<String>> mappedObject)
Map the passed objectvoid
setMappingResult(MappingResult<List<Attribute<String>>> result)
Injected by the MappingContextboolean
supports(Class<?> clazz)
Whether this mapping provider supports mapping T
-
-
-
Method Detail
-
init
public void init(Map<String,Object> options)
Description copied from interface:MappingProvider
Initialize the provider with the configured module options- Specified by:
init
in interfaceMappingProvider<List<Attribute<String>>>
-
performMapping
public void performMapping(Map<String,Object> map, List<Attribute<String>> mappedObject)
Description copied from interface:MappingProvider
Map the passed object- Specified by:
performMapping
in 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:MappingProvider
Injected by the MappingContext- Specified by:
setMappingResult
in interfaceMappingProvider<List<Attribute<String>>>
-
supports
public boolean supports(Class<?> clazz)
Description copied from interface:MappingProvider
Whether this mapping provider supports mapping T- Specified by:
supports
in interfaceMappingProvider<List<Attribute<String>>>
- Returns:
-
-