com.sun.identity.federation.services
Interface FSRealmAttributeMapper


public interface FSRealmAttributeMapper

The interface FSRealmAttributeMapper is a plugin for mapping the Attributes during the single sign-on at the ServiceProvider of the Liberty protocols. The service provider while it is validating the Assertion uses this plugin to map the Attributes that are passed from the Identity provider to local attributes so that the assertion consumer service will populate these attributes to the application via the single sign-on token.


Method Summary
 Map getAttributes(List attributeStatements, String realm, String hostEntityId, String remoteEntityId, Object token)
          Returns the map of local attributes for the given list of attribute statements.
 

Method Detail

getAttributes

Map getAttributes(List attributeStatements,
                  String realm,
                  String hostEntityId,
                  String remoteEntityId,
                  Object token)
Returns the map of local attributes for the given list of attribute statements.

Parameters:
attributeStatements - list of AttributeStatements.
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 value pairs. This map will have the key as the attribute name and the value is the attribute value.