Class Qoa.QoaBuilder
java.lang.Object
swiss.trustbroker.federation.xmlconfig.Qoa.QoaBuilder
- Enclosing class:
Qoa
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Qoa Claim nameList of SAML AuthnContextClassRef entries.comparison(QoaComparison comparison) Comparison type.defaultQoa(String defaultQoa) Default Qoa if there is none in the responsedropUnmappable(Boolean dropUnmappable) Drop unmapped Qoa from the request
Default: falseEnable QoA enforcement.mapOutbound(Boolean mapOutbound) Enable mapping of outbound QoA.replaceInbound(Boolean replaceInbound) Replace incoming Qoa from the request Only applied on RP side
Default: falsesingleQoaResponse(Boolean singleQoaResponse) Send single QoA in response (to RP).toString()
-
Method Details
-
enforce
Enable QoA enforcement.
Default: false- Returns:
this.- Since:
- 1.9.0
-
mapOutbound
Enable mapping of outbound QoA.
Default: true- Returns:
this.- Since:
- 1.9.0
-
singleQoaResponse
Send single QoA in response (to RP).
Relevant for comparison EXACT - send maximum matching value instead.
Default: true- Returns:
this.- Since:
- 1.9.0
-
comparison
Comparison type.- Returns:
this.- Since:
- 1.9.0
-
dropUnmappable
Drop unmapped Qoa from the request
Default: false- Returns:
this.- Since:
- 1.10.0
-
defaultQoa
Default Qoa if there is none in the response- Returns:
this.- Since:
- 1.10.0
-
replaceInbound
Replace incoming Qoa from the request Only applied on RP side
Default: false- Returns:
this.- Since:
- 1.10.0
-
claim
Qoa Claim name- Returns:
this.- Since:
- 1.10.0
-
classes
List of SAML AuthnContextClassRef entries.
If the RP does not send and AuthnRequest class references, the configured context classes are added to the CP-side AuthnRequest to let the CP deal with the QoA requirements of the RP.- Returns:
this.
-
build
-
toString
-