Package tigase.auth.credentials.entries
Class MD5UserIdPasswordCredentialsEntry
- java.lang.Object
-
- tigase.auth.credentials.entries.MD5UserIdPasswordCredentialsEntry
-
- All Implemented Interfaces:
Credentials.Entry
public class MD5UserIdPasswordCredentialsEntry extends Object implements Credentials.Entry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMD5UserIdPasswordCredentialsEntry.Decoderstatic classMD5UserIdPasswordCredentialsEntry.Encoder
-
Constructor Summary
Constructors Constructor Description MD5UserIdPasswordCredentialsEntry(BareJID user, String passwordHash)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMechanism()Name of the mechanism for which it will workbooleanverifyPlainPassword(String plain)Check if plaintext password will match stored credential
-
-
-
Method Detail
-
getMechanism
public String getMechanism()
Description copied from interface:Credentials.EntryName of the mechanism for which it will work- Specified by:
getMechanismin interfaceCredentials.Entry- Returns:
-
verifyPlainPassword
public boolean verifyPlainPassword(String plain)
Description copied from interface:Credentials.EntryCheck if plaintext password will match stored credential- Specified by:
verifyPlainPasswordin interfaceCredentials.Entry
-
-