Package com.ultikits.ultitools.utils
Interface CredentialRotationHandler.CredentialPersister
- Enclosing class:
CredentialRotationHandler
static interface CredentialRotationHandler.CredentialPersister
Writes a rotated credential durably.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanpersistRotated(String credential, String credentialId) Stores the new credential, replacing the old one atomically.
-
Method Details
-
persistRotated
Stores the new credential, replacing the old one atomically.- Parameters:
credential- the newucs_credentialcredentialId- the gateway's id for that credential- Returns:
- true only when the new credential is durably stored
-