java.lang.Object
swiss.trustbroker.federation.xmlconfig.WsTrust
All Implemented Interfaces:
Serializable

public class WsTrust extends Object implements Serializable
WS-Trust configuration for RP.
Since:
1.14.0
See Also:
  • Constructor Details

    • WsTrust

      public WsTrust()
    • WsTrust

      public WsTrust(Boolean enabled, Boolean counterPartyDefault, List<WsTrustBinding> supportedBindings)
      Creates a new WsTrust instance.
      Parameters:
      enabled - WS-Trust protocol enabled.
      Default: true
      counterPartyDefault - For CPs use this WsTrust setting as default for all RPs used in combination with this CP. And vice versa for RPs.
      Default: false
      supportedBindings - List of supported inbound WS-Trust bindings.
      Default: Bindings enabled in global configuration (since 1.14.0, before all bindings were allowed)
      See Also:
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • isCounterPartyDefault

      public boolean isCounterPartyDefault()
    • builder

      public static WsTrust.WsTrustBuilder builder()
    • getEnabled

      public Boolean getEnabled()
      WS-Trust protocol enabled.
      Default: true
    • getCounterPartyDefault

      public Boolean getCounterPartyDefault()
      For CPs use this WsTrust setting as default for all RPs used in combination with this CP. And vice versa for RPs.
      Default: false
    • getSupportedBindings

      public List<WsTrustBinding> getSupportedBindings()
      List of supported inbound WS-Trust bindings.
      Default: Bindings enabled in global configuration (since 1.14.0, before all bindings were allowed)
      See Also:
    • setEnabled

      public void setEnabled(Boolean enabled)
      WS-Trust protocol enabled.
      Default: true
    • setCounterPartyDefault

      public void setCounterPartyDefault(Boolean counterPartyDefault)
      For CPs use this WsTrust setting as default for all RPs used in combination with this CP. And vice versa for RPs.
      Default: false
    • setSupportedBindings

      public void setSupportedBindings(List<WsTrustBinding> supportedBindings)
      List of supported inbound WS-Trust bindings.
      Default: Bindings enabled in global configuration (since 1.14.0, before all bindings were allowed)
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object