public class DefaultAttributeMapper extends Object implements AttributeMapper
DefaultAttributeMapper
provide a default
implementation of the AttributeMapper
interface.Constructor and Description |
---|
DefaultAttributeMapper()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
List |
getAttributes(AttributeQuery query,
String sourceID,
Object token)
This method first mapps the Subject in the query to a local site
account using the AccountMapper defined in the SAML Service.
|
Assertion |
getSSOAssertion(AttributeQuery query)
This method exams the SubjectConfirmationData of the Subject in the
AttributeQuery.
|
String |
getSSOTokenID(AttributeQuery query)
This method exams the SubjectConfirmation of the Subject in the
AttributeQuery.
|
public String getSSOTokenID(AttributeQuery query)
getSSOTokenID
in interface AttributeMapper
query
- the AttributeQuery
object.AttributeMapper.getSSOTokenID(com.sun.identity.saml.protocol.AttributeQuery)
public Assertion getSSOAssertion(AttributeQuery query)
getSSOAssertion
in interface AttributeMapper
query
- The received AttributeQuery
.AttributeMapper.getSSOAssertion(com.sun.identity.saml.protocol.AttributeQuery)
public List getAttributes(AttributeQuery query, String sourceID, Object token) throws SAMLException
getAttributes
in interface AttributeMapper
query
- the AttributeQuery
object.sourceID
- the Source Identifier.token
- User SessionSAMLException
- if there is an error.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.