Uses of Interface
com.svenruppert.jsentinel.credential.store.CredentialUpdateResult
Packages that use CredentialUpdateResult
Package
Description
-
Uses of CredentialUpdateResult in com.svenruppert.jsentinel.credential.lifecycle
Methods in com.svenruppert.jsentinel.credential.lifecycle that return CredentialUpdateResultModifier and TypeMethodDescriptionCredentialLifecycleService.transition(String username, CredentialStatus expected, CredentialStatus target, String reason) Atomic state transition. -
Uses of CredentialUpdateResult in com.svenruppert.jsentinel.credential.store
Classes in com.svenruppert.jsentinel.credential.store that implement CredentialUpdateResultModifier and TypeClassDescriptionstatic final recordNo record existed under the supplied username.static final recordThe witness did not match the persisted record.static final recordThe CAS succeeded;newRecordis the value now stored.Methods in com.svenruppert.jsentinel.credential.store that return CredentialUpdateResultModifier and TypeMethodDescriptionCredentialStore.updateHashIfCurrent(String username, String expectedEncodedHash, String newEncodedHash, Instant when) Atomically replaces the stored hash if it still matchesexpectedEncodedHash.InMemoryCredentialStore.updateHashIfCurrent(String username, String expectedEncodedHash, String newEncodedHash, Instant when) CredentialStore.updateStatusIfCurrent(String username, CredentialStatus expectedStatus, CredentialStatus newStatus, Instant when) Atomically replaces the stored status if it still matchesexpectedStatus.InMemoryCredentialStore.updateStatusIfCurrent(String username, CredentialStatus expectedStatus, CredentialStatus newStatus, Instant when)