Interface Credentials.RawEntry

All Known Implementing Classes:
AuthRepository.DefaultCredentials.RawEntry
Enclosing interface:
Credentials

public static interface Credentials.RawEntry
Interface implemented by classes used as DTO for credentials read from repository.s
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the encryption mechanism used to encode stored credentials.
    Encoded value
    default boolean
    Checks if the provided string matches the name of the encryption mechanism used to encode data for storage in the repository.
  • Method Details

    • getMechanism

      String getMechanism()
      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.
    • getValue

      String getValue()
      Encoded value
    • isForMechanism

      default boolean isForMechanism(String mechanism)
      Checks if the provided string matches the name of the encryption mechanism used to encode data for storage in the repository.