public interface AttributeMapper
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getAttributes(SSOToken token,
Map<String,String> attributeMap)
Gets a list of populated SAML2 Attribute instances.
|
List<Attribute> getAttributes(SSOToken token, Map<String,String> attributeMap) throws TokenCreationException
token
- The SSOToken corresponding to the subject whose attributes will be referenced.attributeMap
- Contains the mapping of saml attribute names (Map keys) to local OpenAM attributes (Map values) in
various stores. The DefaultAttributeMapper looks at profile attributes in various places:
LDAP or SQL, depending on data store setup, or in Session properties.
The keys will define the name of the attributes included in the Assertion Attribute statements,
and the data pulled from the subject's directory entry or session state
corresponding to the map value will define the value corresponding to this attribute name.
If no state is present corresponding to this attribute value, then it will not appear in the AttributeStatement.TokenCreationException
- if an exception is encountered mapping attributes.
exceptions?Copyright © 2010-2018, ForgeRock All Rights Reserved.