Class Qoa
java.lang.Object
swiss.trustbroker.federation.xmlconfig.Qoa
- All Implemented Interfaces:
Serializable
Quality of Authentication (QoA) configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Qoa.QoaBuilderbuilder()protected booleanbooleanbooleanenforce()booleangetClaim()Qoa Claim nameList of SAML AuthnContextClassRef entries.Comparison type.Default Qoa if there is none in the responseDrop unmapped Qoa from the request
Default: falseEnable QoA enforcement.Enable mapping of outbound QoA.Replace incoming Qoa from the request Only applied on RP side
Default: falseSend single QoA in response (to RP).inthashCode()booleanbooleanvoidQoa Claim namevoidsetClasses(List<AcClass> classes) List of SAML AuthnContextClassRef entries.voidsetComparison(QoaComparison comparison) Comparison type.voidsetDefaultQoa(String defaultQoa) Default Qoa if there is none in the responsevoidsetDropUnmappable(Boolean dropUnmappable) Drop unmapped Qoa from the request
Default: falsevoidsetEnforce(Boolean enforce) Enable QoA enforcement.voidsetMapOutbound(Boolean mapOutbound) Enable mapping of outbound QoA.voidsetReplaceInbound(Boolean replaceInbound) Replace incoming Qoa from the request Only applied on RP side
Default: falsevoidsetSingleQoaResponse(Boolean singleQoaResponse) Send single QoA in response (to RP).toString()boolean
-
Constructor Details
-
Qoa
public Qoa() -
Qoa
public Qoa(Boolean enforce, Boolean mapOutbound, Boolean singleQoaResponse, QoaComparison comparison, Boolean dropUnmappable, String defaultQoa, Boolean replaceInbound, String claim, List<AcClass> classes) Creates a newQoainstance.- Parameters:
enforce- Enable QoA enforcement.
Default: falsemapOutbound- Enable mapping of outbound QoA.
Default: truesingleQoaResponse- Send single QoA in response (to RP).
Relevant for comparison EXACT - send maximum matching value instead.
Default: truecomparison- Comparison type.dropUnmappable- Drop unmapped Qoa from the request
Default: falsedefaultQoa- Default Qoa if there is none in the responsereplaceInbound- Replace incoming Qoa from the request Only applied on RP side
Default: falseclaim- Qoa Claim nameclasses- 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.- Since:
- 1.9.0, 1.9.0, 1.9.0, 1.9.0, 1.10.0, 1.10.0, 1.10.0, 1.10.0
-
-
Method Details
-
enforce
public boolean enforce() -
mapOutbound
public boolean mapOutbound() -
useSingleQoaInResponse
public boolean useSingleQoaInResponse() -
dropUnmappableQoas
public boolean dropUnmappableQoas() -
replaceInboundQoas
public boolean replaceInboundQoas() -
builder
-
getEnforce
Enable QoA enforcement.
Default: false- Since:
- 1.9.0
-
getMapOutbound
Enable mapping of outbound QoA.
Default: true- Since:
- 1.9.0
-
getSingleQoaResponse
Send single QoA in response (to RP).
Relevant for comparison EXACT - send maximum matching value instead.
Default: true- Since:
- 1.9.0
-
getComparison
Comparison type.- Since:
- 1.9.0
-
getDropUnmappable
Drop unmapped Qoa from the request
Default: false- Since:
- 1.10.0
-
getDefaultQoa
Default Qoa if there is none in the response- Since:
- 1.10.0
-
getReplaceInbound
Replace incoming Qoa from the request Only applied on RP side
Default: false- Since:
- 1.10.0
-
getClaim
Qoa Claim name- Since:
- 1.10.0
-
getClasses
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. -
setEnforce
Enable QoA enforcement.
Default: false- Since:
- 1.9.0
-
setMapOutbound
Enable mapping of outbound QoA.
Default: true- Since:
- 1.9.0
-
setSingleQoaResponse
Send single QoA in response (to RP).
Relevant for comparison EXACT - send maximum matching value instead.
Default: true- Since:
- 1.9.0
-
setComparison
Comparison type.- Since:
- 1.9.0
-
setDropUnmappable
Drop unmapped Qoa from the request
Default: false- Since:
- 1.10.0
-
setDefaultQoa
Default Qoa if there is none in the response- Since:
- 1.10.0
-
setReplaceInbound
Replace incoming Qoa from the request Only applied on RP side
Default: false- Since:
- 1.10.0
-
setClaim
Qoa Claim name- Since:
- 1.10.0
-
setClasses
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-