Package tigase.auth.credentials.entries

# Class MD5PasswordCredentialsEntry.Encoder

java.lang.Object
tigase.auth.credentials.entries.MD5PasswordCredentialsEntry.Encoder

All Implemented Interfaces:
  `Credentials.Encoder`

Enclosing class:
  MD5PasswordCredentialsEntry

@Bean(name="MD5-PASSWORD", parent=CredentialsEncoderBean.class, active=false) public static class MD5PasswordCredentialsEntry.Encoder extends Object implements Credentials.Encoder

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Encoder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `encode(BareJID user, String password)`
  Encrypt plaintext password for user
  `String`
  `getName()`
  Name of mechanism for which encoder works

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

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

- ## Constructor Details

  - ### Encoder

    public Encoder()

- ## Method Details

  - ### getName

    public String getName()
    Description copied from interface: `Credentials.Encoder`
    Name of mechanism for which encoder works
    Specified by:
      `getName` in interface `Credentials.Encoder`
    Returns:
      name of mechanism for which encoder works

  - ### encode

    public String encode(BareJID user, String password)
    Description copied from interface: `Credentials.Encoder`
    Encrypt plaintext password for user
    Specified by:
      `encode` in interface `Credentials.Encoder`
    Parameters:
      `user` - for which encrypt
      `password` - to encode
    Returns:
      encrypted plaintext password for user