Package tigase.auth.credentials.entries

# Class MD5UserIdPasswordCredentialsEntry

java.lang.Object
tigase.auth.credentials.entries.MD5UserIdPasswordCredentialsEntry

All Implemented Interfaces:
  `Credentials.Entry`

public class MD5UserIdPasswordCredentialsEntry extends Object implements Credentials.Entry

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `MD5UserIdPasswordCredentialsEntry.Decoder`
  `static class`
  `MD5UserIdPasswordCredentialsEntry.Encoder`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MD5UserIdPasswordCredentialsEntry(BareJID user, String passwordHash)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMechanism()`
  Name of the mechanism for which it will work
  `boolean`
  `verifyPlainPassword(String plain)`
  Check if plaintext password will match stored credential

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MD5UserIdPasswordCredentialsEntry

    public MD5UserIdPasswordCredentialsEntry(BareJID user, String passwordHash)

- ## Method Details

  - ### getMechanism

    public String getMechanism()
    Description copied from interface: `Credentials.Entry`
    Name of the mechanism for which it will work
    Specified by:
      `getMechanism` in interface `Credentials.Entry`

  - ### verifyPlainPassword

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