com.sun.identity.saml.plugins
インタフェース AttributeMapper


public interface AttributeMapper

The class AttributeMapper is an interface that is implemented to get SSO information and map partner attributes to OpenSSO attributes.

A different implementation of the interface may be developed for different partner. The mapping between the partner source ID and the implementation class are configured at the Trusted Partner Sites field in SAML service.


メソッドの概要
 List getAttributes(AttributeQuery query, String sourceID, Object token)
          Returns Attributes for the user.
 Assertion getSSOAssertion(AttributeQuery query)
          Returns the Assertion that contains Authentication information that can be used to obtain single sign on token.
 String getSSOTokenID(AttributeQuery query)
          Returns the single sign on token id to OpenSSO from the query.
 

メソッドの詳細

getSSOTokenID

String getSSOTokenID(AttributeQuery query)
Returns the single sign on token id to OpenSSO from the query.

パラメータ:
query - The received AttributeQuery.
戻り値:
String which is the single sign on token ID.

getSSOAssertion

Assertion getSSOAssertion(AttributeQuery query)
Returns the Assertion that contains Authentication information that can be used to obtain single sign on token.

パラメータ:
query - The received AttributeQuery.
戻り値:
Assertion The assertion contained inside the query.

getAttributes

List getAttributes(AttributeQuery query,
                   String sourceID,
                   Object token)
                   throws SAMLException
Returns Attributes for the user.

パラメータ:
query - The received AttributeQuery.
sourceID - source ID for the site from which the query originated.
token - User' session to retrieve the attributes.
戻り値:
A List of Attributes
例外:
SAMLException - if an error occurs