Package tigase.auth.credentials.entries
Class MD5PasswordCredentialsEntry
- java.lang.Object
-
- tigase.auth.credentials.entries.MD5PasswordCredentialsEntry
-
- All Implemented Interfaces:
Credentials.Entry
public class MD5PasswordCredentialsEntry extends Object implements Credentials.Entry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMD5PasswordCredentialsEntry.Decoderstatic classMD5PasswordCredentialsEntry.Encoder
-
Constructor Summary
Constructors Constructor Description MD5PasswordCredentialsEntry(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
-
-
-
Constructor Detail
-
MD5PasswordCredentialsEntry
public MD5PasswordCredentialsEntry(String passwordHash)
-
-
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
-
verifyPlainPassword
public boolean verifyPlainPassword(String plain)
Description copied from interface:Credentials.EntryCheck if plaintext password will match stored credential- Specified by:
verifyPlainPasswordin interfaceCredentials.Entry
-
-