public class DefaultIDPAttributeMapper extends DefaultAttributeMapper implements IDPAttributeMapper
DefaultAttributeMapper
implements the
IDPAttributeMapper
to return the SAML Attribute
objects that may be inserted in the SAML Assertion.
This IDP attribute mapper reads the attribute map configuration defined
in the hosted IDP configuration and construct the SAML
Attribute
objects. If the mapped values are not present in
the data store, this will try to read from the Single sign-on token.bundle, debug, dsProvider, IDP, role, SP
Constructor and Description |
---|
DefaultIDPAttributeMapper()
Constructor
|
Modifier and Type | Method and Description |
---|---|
List |
getAttributes(Object session,
String hostEntityID,
String remoteEntityID,
String realm)
Returns list of SAML
Attribute objects for the
IDP framework to insert into the generated Assertion . |
protected Attribute |
getSAMLAttribute(String namespace,
String name,
Set<String> values)
Returns the SAML
Attribute object. |
getConfigAttributeMap
public List getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm) throws WSFederationException
Attribute
objects for the
IDP framework to insert into the generated Assertion
.getAttributes
in interface IDPAttributeMapper
session
- Single sign-on session.hostEntityID
- EntityID
of the hosted entity.remoteEntityID
- EntityID
of the remote entity.realm
- name of the realm.Attributes
s of an authenticated user.WSFederationException
- if any failure.protected Attribute getSAMLAttribute(String namespace, String name, Set<String> values) throws WSFederationException
Attribute
object.name
- attribute name.values
- attribute values.WSFederationException
- if any failure.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.