Package tigase.auth.credentials.entries

# Class MD5UserIdPasswordCredentialsEntry.Decoder

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

All Implemented Interfaces:
  `Credentials.Decoder<MD5UserIdPasswordCredentialsEntry>`

Enclosing class:
  MD5UserIdPasswordCredentialsEntry

@Bean(name="MD5-USERID-PASSWORD", parent=CredentialsDecoderBean.class, active=false) public static class MD5UserIdPasswordCredentialsEntry.Decoder extends Object implements Credentials.Decoder<MD5UserIdPasswordCredentialsEntry>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Decoder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MD5UserIdPasswordCredentialsEntry`
  `decode(BareJID user, String value)`
  Decode credentials stored in database to more suitable form.
  `String`
  `getName()`
  Name of the encryption mechanism for which decoder works

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

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

- ## Constructor Details

  - ### Decoder

    public Decoder()

- ## Method Details

  - ### decode

    public MD5UserIdPasswordCredentialsEntry decode(BareJID user, String value)
    Description copied from interface: `Credentials.Decoder`
    Decode credentials stored in database to more suitable form.
    Specified by:
      `decode` in interface `Credentials.Decoder<MD5UserIdPasswordCredentialsEntry>`
    Returns:
      credentials stored in database in more suitable form

  - ### getName

    public String getName()
    Description copied from interface: `Credentials.Decoder`
    Name of the encryption mechanism for which decoder works
    Specified by:
      `getName` in interface `Credentials.Decoder<MD5UserIdPasswordCredentialsEntry>`
    Returns:
      name of the encryption mechanism for which decoder works