Class FSDefaultRealmAttributeMapper
- java.lang.Object
-
- com.sun.identity.federation.services.FSDefaultRealmAttributeMapper
-
- All Implemented Interfaces:
FSRealmAttributeMapper
public class FSDefaultRealmAttributeMapper extends Object implements FSRealmAttributeMapper
This classFSDefaultRealmAttributeMapperis the default implementation of theFSRealmAttributeMapperused 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 FSDefaultRealmAttributeMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetAttributes(List statements, String realm, String hostEntityId, String remoteEntityId, Object token)Returns the attribute map for the given list ofAttributeStatements.
-
-
-
Method Detail
-
getAttributes
public Map getAttributes(List statements, String realm, String hostEntityId, String remoteEntityId, Object token)
Returns the attribute map for the given list ofAttributeStatements.- Specified by:
getAttributesin interfaceFSRealmAttributeMapper- Parameters:
statements- list ofAttributeStatementss.realm- The realm under which the entity resides.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.
-
-