public class FMSubjectMapper extends Object implements SubjectMapper
urn:oasis:names:tc:xacml:1.0:subject:subject-idOnly following dataTypes would be understood for subject-id
urn:oasis:names:tc:xacml:1.0:data-type:x500Name urn:sun:names:xacml:2.0:data-type:opensso-session-id urn:sun:names:xacml:2.0:data-type:openfm-sp-nameidOnly following value would be accepted for subject-category attribute of Subject
urn:oasis:names:tc:xacml:1.0:subject-category:access-subjectIf the attribute or the value is not specified in the request, it would default to this value. The Subject would map to null if a different value has been specified in error condition.
Constructor and Description |
---|
FMSubjectMapper() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String pdpEntityId,
String pepEntityId,
Map properties)
Initializes the mapper implementation.
|
Object |
mapToNativeSubject(List xacmlContextSubjects)
Returns native subject, OpenAM SSOToken
|
public void initialize(String pdpEntityId, String pepEntityId, Map properties) throws XACMLException
initialize
in interface SubjectMapper
pdpEntityId
- EntityID of PDPpepEntityId
- EntityID of PEPproperties
- configuration propertiesXACMLException
- if can not initializepublic Object mapToNativeSubject(List xacmlContextSubjects) throws XACMLException
mapToNativeSubject
in interface SubjectMapper
xacmlContextSubjects
- XACML context Subject(s) from the
xacml-context:RequestXACMLException
- if can not map to native subjectCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.