public class PlainCredentialsEntry extends Object implements Credentials.Entry
Modifier and Type | Class and Description |
---|---|
static class |
PlainCredentialsEntry.Decoder |
static class |
PlainCredentialsEntry.Encoder |
Constructor and Description |
---|
PlainCredentialsEntry(String password) |
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
|
public PlainCredentialsEntry(String password)
public String getPassword()
public String getMechanism()
Credentials.Entry
getMechanism
in interface Credentials.Entry
public boolean verifyPlainPassword(String plain)
Credentials.Entry
verifyPlainPassword
in interface Credentials.Entry
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.