public class SimplePrincipalMappingProvider extends AbstractPrincipalMappingProvider
SimplePrincipal and converts into
a SimplePrincipal with a different principal name| Constructor and Description |
|---|
SimplePrincipalMappingProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Map<String,Object> options)
Initialize the provider with the configured module options
|
void |
performMapping(Map<String,Object> map,
Principal mappedObject)
Map the passed object
|
void |
setMappingResult(MappingResult<Principal> result)
Injected by the MappingContext
|
supportspublic void init(Map<String,Object> options)
MappingProviderpublic void performMapping(Map<String,Object> map, Principal mappedObject)
MappingProvidermap - A read-only contextual map that can provide information to the providermappedObject - an Object on which the mapping will be appliedpublic void setMappingResult(MappingResult<Principal> result)
MappingProviderCopyright © 2018 JBoss by Red Hat. All rights reserved.