Class PendingSamlLogout
java.lang.Object
com.revetsec.saml.PendingSamlLogout
Engine-created pending SP logout. Its separate seal type cannot be replayed as login state.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns pending expiry.Returns the generated RelayState handle.Returns the generated logout request ID.saveToResult(@NonNull PendingSamlAuthenticationStore store, @NonNull StateSealer sealer, @NonNull String context, @NonNull BrowserBinding browserBinding, @NonNull Duration remaining) Seals and saves logout pending state in an atomic browser-bound store.toSealedForm(@NonNull StateSealer sealer, @NonNull String context) Seals logout pending state for a browser-bound secure cookie.toString()Redacts pending state.
-
Method Details
-
toSealedForm
Seals logout pending state for a browser-bound secure cookie. A valid pending record may exceed the configured sealer limit, which throwsIllegalArgumentException. Persist successfully before delivering the request.- Parameters:
sealer- active and verification keyscontext- application cookie namespace- Returns:
- sealed value
- Since:
- 1.0.0
-
saveToResult
public @NonNull SamlPendingSaveResult saveToResult(@NonNull PendingSamlAuthenticationStore store, @NonNull StateSealer sealer, @NonNull String context, @NonNull BrowserBinding browserBinding, @NonNull Duration remaining) Seals and saves logout pending state in an atomic browser-bound store. If the encoded record exceeds the configured sealer limit, returns UNAVAILABLE without calling the store or drawing sealing entropy. Shorten configuration before retrying; invalid contexts remain argument errors. A possibly completed save remains INDETERMINATE.- Parameters:
store- atomic pending storesealer- active and verification keyscontext- application store namespacebrowserBinding- browser-specific secretremaining- positive operation budget- Returns:
- save outcome
- Since:
- 1.0.0
-
getRequestId
Returns the generated logout request ID.- Returns:
- request ID
- Since:
- 1.0.0
-
getRelayStateHandle
Returns the generated RelayState handle.- Returns:
- handle
- Since:
- 1.0.0
-
getExpiresAt
-
toString
-