Class SsoGroup.SsoGroupBuilder

java.lang.Object
swiss.trustbroker.federation.xmlconfig.SsoGroup.SsoGroupBuilder
Enclosing class:
SsoGroup

public static class SsoGroup.SsoGroupBuilder extends Object
  • Method Details

    • name

      public SsoGroup.SsoGroupBuilder name(String name)
      Mandatory group name. It's recommended to use a consistent naming scheme, e.g.:
      SSO-CUSTOMERGROUP-CPNAME
      Returns:
      this.
    • maxIdleTimeMinutes

      public SsoGroup.SsoGroupBuilder maxIdleTimeMinutes(int maxIdleTimeMinutes)
      Time in minutes without any XTB SSO interaction leading to session removal.
      Returns:
      this.
    • maxSessionTimeMinutes

      public SsoGroup.SsoGroupBuilder maxSessionTimeMinutes(int maxSessionTimeMinutes)
      Time in minutes an SSO session exists at most (even though there was interaction where the idle timeout did not expire yet).
      Returns:
      this.
    • maxCachingTimeMinutes

      public SsoGroup.SsoGroupBuilder maxCachingTimeMinutes(int maxCachingTimeMinutes)
      Time in minutes an RP can access XTB reusing the currently active SSO session without the need to interact with the CP again on an established SSO session, except when the SAML
      AuthnRequest forceAuth="true"
      flag signals an interaction.
      Returns:
      this.
    • sessionCookieSameSite

      public SsoGroup.SsoGroupBuilder sessionCookieSameSite(String sessionCookieSameSite)
      Controls the SSO session cookie
      sameSite
      flag: None, Strict, Dynamic. Dynamic: Choose None or Strict based on whether the involved URLs are same site or not. (A value of Lax while valid has no benefits over Strict and is too restrictive for cross-domain use.)
      Default: Dynamic
      Returns:
      this.
    • build

      public SsoGroup build()
    • toString

      public String toString()
      Overrides:
      toString in class Object