Class KeyRingSessionProtection
java.lang.Object
io.fluxzero.idp.bff.session.KeyRingSessionProtection
- All Implemented Interfaces:
SessionProtection
AES-256-GCM session protection with a lazily supplied, application-scoped key ring.
All replicas use the same ring. The active key writes; retained keys read.
The HTTP integration loads this ring on first use, retries failed loads, and retains a successful ring
for its lifetime. Replace the application process to adopt a new active key or retained-key set.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SessionProtection
SessionProtection.Context, SessionProtection.SealedValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionopen(SessionProtection.Context context, SessionProtection.SealedValue ciphertext) seal(SessionProtection.Context context, SecretValue plaintext) toString()
-
Constructor Details
-
KeyRingSessionProtection
-
-
Method Details
-
seal
- Specified by:
sealin interfaceSessionProtection
-
open
public SecretValue open(SessionProtection.Context context, SessionProtection.SealedValue ciphertext) - Specified by:
openin interfaceSessionProtection
-
toString
-