public class MD5UsernamePasswordCredentialsEntry extends Object implements Credentials.Entry
| Modifier and Type | Class and Description |
|---|---|
static class |
MD5UsernamePasswordCredentialsEntry.Decoder |
static class |
MD5UsernamePasswordCredentialsEntry.Encoder |
| Constructor and Description |
|---|
MD5UsernamePasswordCredentialsEntry(BareJID user,
String passwordHash) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMechanism()
Name of the mechanism for which it will work
|
protected static String |
getUsername(BareJID user) |
boolean |
verifyPlainPassword(String plain)
Check if plaintext password will match stored credential
|
public String getMechanism()
Credentials.EntrygetMechanism in interface Credentials.Entrypublic boolean verifyPlainPassword(String plain)
Credentials.EntryverifyPlainPassword in interface Credentials.EntryCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.