Class FSDefaultAttributeMapper
- java.lang.Object
-
- com.sun.identity.federation.services.FSDefaultAttributeMapper
-
- All Implemented Interfaces:
FSAttributeMapper
public class FSDefaultAttributeMapper extends Object implements FSAttributeMapper
This classFSDefaultAttributeMapperis the default implementation of theFSAttributeMapperused at the service provider(SP) and configurable through provider's local configuration. The default implementation reads the assertion attributes and map to the configured attribute map that is defined in Provider's local configuration. The attributes will be populated to the session of the user for the consumption of any dependent applications. If the configuration is not defined, then the attributes in the assertion themselves will be populated.
-
-
Constructor Summary
Constructors Constructor Description FSDefaultAttributeMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetAttributes(List statements, String hostEntityId, String remoteEntityId, Object token)Returns the attribute map for the given list ofAttributeStatements.
-
-
-
Method Detail
-
getAttributes
public Map getAttributes(List statements, String hostEntityId, String remoteEntityId, Object token)
Returns the attribute map for the given list ofAttributeStatements.- Specified by:
getAttributesin interfaceFSAttributeMapper- Parameters:
statements- list ofAttributeStatementss.hostEntityId- Hosted provider entity id.remoteEntityId- Remote provider entity id.token- Single sign-on session token.- Returns:
- map of attribute values. The map will have the key as the attribute name and the map value is the attribute value that are passed via the single sign-on assertion.
-
-