Package tigase.db

# Class AuthRepository.DefaultCredentials.RawEntry

java.lang.Object
tigase.db.AuthRepository.DefaultCredentials.RawEntry

All Implemented Interfaces:
  `Credentials.RawEntry`

Enclosing class:
  AuthRepository.DefaultCredentials

public static class AuthRepository.DefaultCredentials.RawEntry extends Object implements Credentials.RawEntry

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RawEntry(String mechanism, String value)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMechanism()`
  Name of the encryption mechanism used to encode stored credentials.
  `String`
  `getValue()`
  Encoded value

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

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

  ### Methods inherited from interface tigase.auth.credentials.Credentials.RawEntry

  `isForMechanism`

- ## Constructor Details

  - ### RawEntry

    public RawEntry(String mechanism, String value)

- ## Method Details

  - ### getMechanism

    public String getMechanism()
    Description copied from interface: `Credentials.RawEntry`
    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.RawEntry`

  - ### getValue

    public String getValue()
    Description copied from interface: `Credentials.RawEntry`
    Encoded value
    Specified by:
      `getValue` in interface `Credentials.RawEntry`