com.sun.identity.wsfederation.plugins
Interface IDPAttributeMapper
public interface IDPAttributeMapper
This interface IDPAttributeMapper
is used to map the
authenticated user configured attributes to SAML Attribute
s
so that the SAML framework may insert these attribute information as SAML
AttributeStatement
s in SAML Assertion
.
The implementation of this interface can read the configured
attributes or the attributes that are available through the Single
Sign On Token and returns the SAML Attribute
s.
- See Also:
SPAttributeMapper
getAttributes
List getAttributes(Object session,
String hostEntityID,
String remoteEntityID,
String realm)
throws WSFederationException
- Returns list of SAML
Attribute
objects for an
authenticated user local attributes.
- Parameters:
session
- single sign on session of an authenticated user.hostEntityID
- EntityID
of the hosted provider.remoteEntityID
- EntityID
of the remote provider.realm
- realm name.
- Returns:
- list of
Attributes
s of an authenticated user.
- Throws:
WSFederationException
- if any failure.