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.Entry
getMechanism
in interface Credentials.Entry
public boolean verifyPlainPassword(String plain)
Credentials.Entry
verifyPlainPassword
in interface Credentials.Entry
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.