Class PendingSamlAuthenticationSource
java.lang.Object
com.revetsec.saml.PendingSamlAuthenticationSource
A sealed pending login obtained from the initiating browser's cookie. The application must bind
the cookie to that browser and clear it after completion. A backend with atomic single-use
consumption can be supplied through the separate pending-store source.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionfromSealedForm(@NonNull String sealedForm, @NonNull StateSealer sealer, @NonNull String context) Selects the sealed state received from the initiating browser.fromStore(@NonNull PendingSamlAuthenticationStore store, @NonNull BrowserBinding browserBinding, @NonNull StateSealer sealer, @NonNull String context) Selects an atomic pending store for this browser.toString()Redacts the sealed state.
-
Method Details
-
fromSealedForm
public static @NonNull PendingSamlAuthenticationSource fromSealedForm(@NonNull String sealedForm, @NonNull StateSealer sealer, @NonNull String context) Selects the sealed state received from the initiating browser.- Parameters:
sealedForm- value read from that browser's secure cookiesealer- active and verification sealing keyscontext- exact application-selected cookie context- Returns:
- the pending source
- Since:
- 1.0.0
-
fromStore
public static @NonNull PendingSamlAuthenticationSource fromStore(@NonNull PendingSamlAuthenticationStore store, @NonNull BrowserBinding browserBinding, @NonNull StateSealer sealer, @NonNull String context) Selects an atomic pending store for this browser. Completion consumes using the received RelayState handle before parsing XML.- Parameters:
store- atomic pending storebrowserBinding- browser-specific secretsealer- active and verification sealing keyscontext- same application-selected namespace used when saving- Returns:
- the pending source
- Since:
- 1.0.0
-
toString
-