Class Sso.SsoBuilder
java.lang.Object
swiss.trustbroker.federation.xmlconfig.Sso.SsoBuilder
- Enclosing class:
Sso
-
Method Summary
Modifier and TypeMethodDescriptionbuild()enabled(boolean enabled) Enable this configuration.fingerprintCheck(FingerprintCheck fingerprintCheck) Device fingerprint check mode.forceIdmRefresh(Boolean forceIdmRefresh) Refresh IDM data for SSO - enable e.g.Configure a reference to an existing SSOGroup name.logoutNotifications(Boolean logoutNotifications) Notify other SSO participants about the ongoing logout.serializeNotifications(Boolean serializeNotifications) Serialize logout notifications in the order of theSloResponseelements.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.sloResponse(List<SloResponse> sloResponse) Shortcut fortoString()
-
Method Details
-
enabled
Enable this configuration.- Returns:
this.
-
groupName
Configure a reference to an existing SSOGroup name. The groupName is required when SSO is enabled only.- Returns:
this.- See Also:
-
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
Refresh IDM data for SSO - enable e.g. if an Access Request might be performed outside XTB.- Returns:
this.
-
fingerprintCheck
Device fingerprint check mode.- Returns:
this.
-
sloUrl
Shortcut forSloResponse
with this URL and defaults otherwise. Absolute or relative URL as forSloResponse
- Returns:
this.- See Also:
-
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
Serialize logout notifications in the order of theSloResponseelements.
By default, they are fired in parallel.- Returns:
this.- Since:
- 1.14.0
-
sloResponse
- Returns:
this.
-
build
-
toString
-