public class SimplePrincipalMappingProvider extends AbstractPrincipalMappingProvider
SimplePrincipal
and converts into
a SimplePrincipal
with a different principal nameConstructor 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
|
supports
public void init(Map<String,Object> options)
MappingProvider
public void performMapping(Map<String,Object> map, Principal mappedObject)
MappingProvider
map
- 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)
MappingProvider
Copyright © 2021 JBoss by Red Hat. All rights reserved.