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 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