Class AcClass.AcClassBuilder

java.lang.Object
swiss.trustbroker.federation.xmlconfig.AcClass.AcClassBuilder
Enclosing class:
AcClass

public static class AcClass.AcClassBuilder extends Object
  • Method Details

    • order

      public AcClass.AcClassBuilder order(Integer order)
      ACClass QoA order.
      Returns:
      this.
    • mapInbound

      public AcClass.AcClassBuilder mapInbound(Boolean mapInbound)
      Enable mapping of inbound QoA.
      Default: true, set to false in order to disambiguate mappings.
      Returns:
      this.
    • mapOutbound

      public AcClass.AcClassBuilder mapOutbound(Boolean mapOutbound)
      Enable mapping of outbound QoA.
      Default: true, set to false in order to disambiguate mappings.
      Returns:
      this.
    • replaceInbound

      public AcClass.AcClassBuilder replaceInbound(Boolean replaceInbound)
      Replace inbound Qoa from RP request. Only works with Qoa.replaceInbound together
      Default: true
      Returns:
      this.
      Since:
      1.10.0
    • downgradeToMaximumRequested

      public AcClass.AcClassBuilder downgradeToMaximumRequested(Boolean downgradeToMaximumRequested)
      If this Qoa is returned by the CP, but was not requested by the RP, downgrade it to the maximum Qoa requested by the RP.
      Default: false
      Returns:
      this.
    • contextClass

      public AcClass.AcClassBuilder contextClass(String contextClass)
      ACClass name
      Returns:
      this.
    • build

      public AcClass build()
    • toString

      public String toString()
      Overrides:
      toString in class Object