Class SubjectName
java.lang.Object
swiss.trustbroker.federation.xmlconfig.SubjectName
- All Implemented Interfaces:
Serializable
The SubjectName map allows to pick an attribute as a mapped subject nameId from the following sources in this order:
If the attribute...
- AttributesSelection
- >UserDetailsSelection
- PropertiesSelection
If the attribute...
- is found: CPResponse.nameID is set before the OnResponse hook (RP side) / BeforeIdm hook (CP side) and an INFO log states the mapping/
- is not found: An INFO log states what has been preserved.
- With 1.9.0 change attribute
sourcetoclaim. The semantics of the former was changed to align it with the source concept used elsewhere.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSubjectName(String source, String claim, String format, SubjectNameScope scope) Creates a newSubjectNameinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetClaim()Subject Name ID claim name.Subject Name ID format.getScope()Scope of the SubjectNameMatched against the CP/CP:issuer/IDM/IDM:IDMQuery.name/PROPSinthashCode()voidSubject Name ID claim name.voidSubject Name ID format.voidsetScope(SubjectNameScope scope) Scope of the SubjectNamevoidMatched against the CP/CP:issuer/IDM/IDM:IDMQuery.name/PROPStoString()
-
Constructor Details
-
SubjectName
public SubjectName() -
SubjectName
Creates a newSubjectNameinstance.- Parameters:
source- Matched against the CP/CP:issuer/IDM/IDM:IDMQuery.name/PROPSclaim- Subject Name ID claim name.format- Subject Name ID format.scope- Scope of the SubjectName- Since:
- 1.9.0, 1.13.0
-
-
Method Details
-
builder
-
getSource
Matched against the CP/CP:issuer/IDM/IDM:IDMQuery.name/PROPS -
getClaim
Subject Name ID claim name.- Since:
- 1.9.0
-
getFormat
Subject Name ID format. -
getScope
Scope of the SubjectName- Since:
- 1.13.0
-
setSource
Matched against the CP/CP:issuer/IDM/IDM:IDMQuery.name/PROPS -
setClaim
Subject Name ID claim name.- Since:
- 1.9.0
-
setFormat
Subject Name ID format. -
setScope
Scope of the SubjectName- Since:
- 1.13.0
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-