Interface UserCredentialManager

All Superinterfaces:
CredentialVerifier

public interface UserCredentialManager extends CredentialVerifier
A UserCredentialManager can store credentials in a repository and verify credentials.
Since:
8.6.0
  • Method Details Link icon

    • update Link icon

      CredentialUpdateResult update(SubjectAttributes subjectAttributes, String password)
      Update the password credential for the given subject.
      Parameters:
      subjectAttributes - The subject for which to update the password.
      password - the new password to store.
      Returns:
      the result of updating the password.
    • getCredentialPolicy Link icon

      Gets the credential policy configured for this Credential Manager, if any.
      Returns:
      the credential policy, or null if one isn't configured
      Since:
      9.1.0