Package com.sun.identity.saml2.plugins
Interface IDPAttributeMapper
-
- All Superinterfaces:
SAMLPlugin
@SupportedAll public interface IDPAttributeMapper extends SAMLPlugin
This interfaceIDPAttributeMapper
is used to map the authenticated user configured attributes to SAMLAttribute
s so that the SAML framework may insert these attribute information as SAMLAttributeStatement
s in SAMLAssertion
. 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 SAMLAttribute
s.- See Also:
SPAttributeMapper
-
-
Field Summary
-
Fields inherited from interface org.forgerock.openam.saml2.plugins.SAMLPlugin
HOSTED_ENTITY_ID, REALM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List
getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm)
Returns list of SAMLAttribute
objects for an authenticated user local attributes.
-
-
-
Method Detail
-
getAttributes
List getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm) throws SAML2Exception
Returns list of SAMLAttribute
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:
SAML2Exception
- if any failure.
-
-