tigase.auth.credentials.entries

## Class PlainCredentialsEntry

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

- All Implemented Interfaces:
    Credentials.Entry

      public class PlainCredentialsEntry
      extends Object
      implements Credentials.Entry

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `PlainCredentialsEntry.Decoder`
    `static class` | `PlainCredentialsEntry.Encoder`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlainCredentialsEntry(String password)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMechanism()` Name of the mechanism for which it will work
    `String` | `getPassword()`
    `boolean` | `verifyPlainPassword(String plain)` Check if plaintext password will match stored credential

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

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

- - ### Constructor Detail

    - #### PlainCredentialsEntry

          public PlainCredentialsEntry(String password)

  - ### Method Detail

    - #### getPassword

          public String getPassword()

    - #### getMechanism

          public String getMechanism()

      Description copied from interface: `Credentials.Entry`
      Name of the mechanism for which it will work
      Specified by:
        `getMechanism` in interface `Credentials.Entry`

    - #### verifyPlainPassword

          public boolean verifyPlainPassword(String plain)

      Description copied from interface: `Credentials.Entry`
      Check if plaintext password will match stored credential
      Specified by:
        `verifyPlainPassword` in interface `Credentials.Entry`

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.