Class Sso.SsoBuilder

java.lang.Object
swiss.trustbroker.federation.xmlconfig.Sso.SsoBuilder
Enclosing class:
Sso

public static class Sso.SsoBuilder extends Object
  • Method Details

    • enabled

      public Sso.SsoBuilder enabled(boolean enabled)
      Enable this configuration.
      Returns:
      this.
    • groupName

      public Sso.SsoBuilder groupName(String groupName)
      Configure a reference to an existing SSOGroup name. The groupName is required when SSO is enabled only.
      Returns:
      this.
      See Also:
    • skipHrdWithSsoSession

      public Sso.SsoBuilder skipHrdWithSsoSession(Boolean skipHrdWithSsoSession)
      If an RP already is logged in with the first CP, the HRD screen can be skipped leading to the second participant automatically joining the detected SSO session for that CP.
      Returns:
      this.
    • forceIdmRefresh

      public Sso.SsoBuilder forceIdmRefresh(Boolean forceIdmRefresh)
      Refresh IDM data for SSO - enable e.g. if an Access Request might be performed outside XTB.
      Returns:
      this.
    • fingerprintCheck

      public Sso.SsoBuilder fingerprintCheck(FingerprintCheck fingerprintCheck)
      Device fingerprint check mode.
      Returns:
      this.
    • sloUrl

      public Sso.SsoBuilder sloUrl(String sloUrl)
      Shortcut for
      SloResponse
      with this URL and defaults otherwise. Absolute or relative URL as for
      SloResponse
      Returns:
      this.
      See Also:
    • logoutNotifications

      public Sso.SsoBuilder logoutNotifications(Boolean logoutNotifications)
      Notify other SSO participants about the ongoing logout. The participants need to have their notification endpoints configured using SloResponse elements.
      Potentially breaking changes:
      • Since 1.12.0 the default was changed from false to true if there SloResponse notifications are configured.
      Returns:
      this.
    • serializeNotifications

      public Sso.SsoBuilder serializeNotifications(Boolean serializeNotifications)
      Serialize logout notifications in the order of the SloResponse elements.
      By default, they are fired in parallel.
      Returns:
      this.
      Since:
      1.14.0
    • sloResponse

      public Sso.SsoBuilder sloResponse(List<SloResponse> sloResponse)
      Returns:
      this.
    • build

      public Sso build()
    • toString

      public String toString()
      Overrides:
      toString in class Object