Class ScramCredentialsEntry

java.lang.Object
tigase.auth.credentials.entries.ScramCredentialsEntry
All Implemented Interfaces:
Credentials.Entry
Direct Known Subclasses:
ScramSha1CredentialsEntry, ScramSha256CredentialsEntry, ScramSha512CredentialsEntry

public class ScramCredentialsEntry extends Object implements Credentials.Entry
  • Constructor Details

  • Method Details

    • getSalt

      public byte[] getSalt()
    • getSaltedPassword

      public byte[] getSaltedPassword()
    • getIterations

      public int getIterations()
    • getMechanism

      public String getMechanism()
      Description copied from interface: Credentials.Entry
      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.
      Specified by:
      getMechanism in interface Credentials.Entry
    • verifyPlainPassword

      public boolean verifyPlainPassword(String password)
      Description copied from interface: Credentials.Entry
      Check if plaintext password will match stored credential
      Specified by:
      verifyPlainPassword in interface Credentials.Entry