T
- The type of source.public interface AttributeMapper<T>
Modifier and Type | Method and Description |
---|---|
Map<String,Set<String>> |
getAttributes(Map<String,String> attributeMapConfiguration,
T source)
Maps from values found in the source to a map of keys in the result, according to a provided map of keys in the
source to keys in the result.
|
void |
init(String bundleName)
Initialise the instance for i18n.
|
void init(String bundleName)
bundleName
- The name of the bundle for exceptions thrown by the getAttributes method.Map<String,Set<String>> getAttributes(Map<String,String> attributeMapConfiguration, T source) throws AuthLoginException
attributeMapConfiguration
- The map of keys in the source to keys in the result.source
- The source of values.AuthLoginException
- If there was an error while retrieving the user attributes.Copyright © 2010-2018, ForgeRock All Rights Reserved.