Interface CredentialRotationHandler.CredentialPersister

Enclosing class:
CredentialRotationHandler

static interface CredentialRotationHandler.CredentialPersister
Writes a rotated credential durably.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    persistRotated(String credential, String credentialId)
    Stores the new credential, replacing the old one atomically.
  • Method Details

    • persistRotated

      boolean persistRotated(String credential, String credentialId)
      Stores the new credential, replacing the old one atomically.
      Parameters:
      credential - the new ucs_ credential
      credentialId - the gateway's id for that credential
      Returns:
      true only when the new credential is durably stored