com.sun.identity.federation.services
Interface FSAttributeMapper


public interface FSAttributeMapper

The interface FSAttributeMapper 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
 java.util.Map getAttributes(java.util.List attributeStatements, java.lang.String hostEntityId, java.lang.String remoteEntityId, SSOToken token)
          Returns the map of local attributes for the given list of attribute statements.
 

Method Detail

getAttributes

public java.util.Map getAttributes(java.util.List attributeStatements,
                                   java.lang.String hostEntityId,
                                   java.lang.String remoteEntityId,
                                   SSOToken token)
Returns the map of local attributes for the given list of attribute statements.

Parameters:
attributeStatements - list of AttributeStatements.
hostEntityId - Hosted provider entity id.
token - Single sign-on token.
Returns:
map of attribute value pairs. This map will have the key as the attribute name and the value is the attribute value.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.