Class Qoa.QoaBuilder

java.lang.Object
swiss.trustbroker.federation.xmlconfig.Qoa.QoaBuilder
Enclosing class:
Qoa

public static class Qoa.QoaBuilder extends Object
  • Method Details

    • enforce

      public Qoa.QoaBuilder enforce(Boolean enforce)
      Enable QoA enforcement.
      Default: false
      Returns:
      this.
      Since:
      1.9.0
    • mapOutbound

      public Qoa.QoaBuilder mapOutbound(Boolean mapOutbound)
      Enable mapping of outbound QoA.
      Default: true
      Returns:
      this.
      Since:
      1.9.0
    • singleQoaResponse

      public Qoa.QoaBuilder singleQoaResponse(Boolean 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

      public Qoa.QoaBuilder comparison(QoaComparison comparison)
      Comparison type.
      Returns:
      this.
      Since:
      1.9.0
    • dropUnmappable

      public Qoa.QoaBuilder dropUnmappable(Boolean dropUnmappable)
      Drop unmapped Qoa from the request
      Default: false
      Returns:
      this.
      Since:
      1.10.0
    • defaultQoa

      public Qoa.QoaBuilder defaultQoa(String defaultQoa)
      Default Qoa if there is none in the response
      Returns:
      this.
      Since:
      1.10.0
    • replaceInbound

      public Qoa.QoaBuilder replaceInbound(Boolean replaceInbound)
      Replace incoming Qoa from the request Only applied on RP side
      Default: false
      Returns:
      this.
      Since:
      1.10.0
    • claim

      public Qoa.QoaBuilder claim(String claim)
      Qoa Claim name
      Returns:
      this.
      Since:
      1.10.0
    • classes

      public Qoa.QoaBuilder classes(List<AcClass> 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

      public Qoa build()
    • toString

      public String toString()
      Overrides:
      toString in class Object