Package tigase.auth.credentials.entries

# Class PlainCredentialsEntry.Decoder

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

All Implemented Interfaces:
  `Credentials.Decoder`

Enclosing class:
  PlainCredentialsEntry

@Bean(name="PLAIN", parent=CredentialsDecoderBean.class, active=true) public static class PlainCredentialsEntry.Decoder extends Object implements Credentials.Decoder

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Decoder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Credentials.Entry`
  `decode(BareJID user, String value)`
  Decode credentials stored in database to more suitable form.
  `String`
  `getName()`
  Name of 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

  - ### getName

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

  - ### decode

    public Credentials.Entry 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`
    Returns:
      credentials stored in database in more suitable form