Class PendingSamlLogoutSource
java.lang.Object
com.revetsec.saml.PendingSamlLogoutSource
Browser-bound source of one SP-initiated pending logout. The caller clears the cookie after
a verified terminal status; a conditional atomic store supplies single use across callbacks
and nodes without consuming state for an invalid response.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull PendingSamlLogoutSourcefromSealedForm(@NonNull String sealedForm, @NonNull StateSealer sealer, @NonNull String context) Selects a sealed browser cookie.static @NonNull PendingSamlLogoutSourcefromStore(@NonNull PendingSamlAuthenticationStore store, @NonNull BrowserBinding browserBinding, @NonNull StateSealer sealer, @NonNull String context) Selects an atomic pending store and browser binding.toString()Redacts state and store details.
-
Method Details
-
fromSealedForm
public static @NonNull PendingSamlLogoutSource fromSealedForm(@NonNull String sealedForm, @NonNull StateSealer sealer, @NonNull String context) Selects a sealed browser cookie.- Parameters:
sealedForm- received cookie valuesealer- active and verification keyscontext- exact cookie namespace- Returns:
- pending source
- Since:
- 1.0.0
-
fromStore
public static @NonNull PendingSamlLogoutSource fromStore(@NonNull PendingSamlAuthenticationStore store, @NonNull BrowserBinding browserBinding, @NonNull StateSealer sealer, @NonNull String context) Selects an atomic pending store and browser binding. Logout completion requires the store's conditional consume operation so authenticated pending state can be checked against the response before removal.- Parameters:
store- atomic storebrowserBinding- browser-specific secretsealer- active and verification keyscontext- same namespace used when saving- Returns:
- pending source
- Since:
- 1.0.0
-
toString
-