Interface Credentials.Entry

All Known Implementing Classes:
MD5PasswordCredentialsEntry, MD5UserIdPasswordCredentialsEntry, MD5UsernamePasswordCredentialsEntry, PlainCredentialsEntry, ScramCredentialsEntry, ScramSha1CredentialsEntry, ScramSha256CredentialsEntry, ScramSha512CredentialsEntry
Enclosing interface:
Credentials

public static interface Credentials.Entry
Interface required to be implemented by classes representing credential entry.
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the encryption mechanism used to encode stored credentials.
    boolean
    Check if plaintext password will match stored credential
  • Method Details

    • getMechanism

      String getMechanism()
      Name of the encryption mechanism used to encode stored credentials. Note: Value returned by this method may be equal to SASL mechanism name used to encode this value, but doesn't have to be only one of SASL mechanism name, ie. for passwords encoded for PLAIN mechanism not stored in plain format in the repository.
    • verifyPlainPassword

      boolean verifyPlainPassword(String plain)
      Check if plaintext password will match stored credential