Class SsoGroup.SsoGroupBuilder
java.lang.Object
swiss.trustbroker.federation.xmlconfig.SsoGroup.SsoGroupBuilder
- Enclosing class:
SsoGroup
-
Method Summary
Modifier and TypeMethodDescriptionbuild()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 SAMLmaxIdleTimeMinutes(int maxIdleTimeMinutes) Time in minutes without any XTB SSO interaction leading to session removal.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).Mandatory group name.sessionCookieSameSite(String sessionCookieSameSite) Controls the SSO session cookietoString()
-
Method Details
-
name
Mandatory group name. It's recommended to use a consistent naming scheme, e.g.:SSO-CUSTOMERGROUP-CPNAME
- Returns:
this.
-
maxIdleTimeMinutes
Time in minutes without any XTB SSO interaction leading to session removal.- Returns:
this.
-
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
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 SAMLAuthnRequest forceAuth="true"
flag signals an interaction.- Returns:
this.
-
sessionCookieSameSite
Controls the SSO session cookiesameSite
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
-
toString
-