Package tigase.auth.credentials.entries
Class PlainCredentialsEntry
java.lang.Object
tigase.auth.credentials.entries.PlainCredentialsEntry
- All Implemented Interfaces:
Credentials.Entry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionName of the encryption mechanism used to encode stored credentials.booleanverifyPlainPassword(String plain) Check if plaintext password will match stored credential
-
Constructor Details
-
PlainCredentialsEntry
-
-
Method Details
-
getMechanism
Description copied from interface:Credentials.EntryName of the encryption mechanism used to encode stored credentials. Note: Value returned by this method may be equal to SASL mechanism name used to encode this value, but doesn't have to be only one of SASL mechanism name, ie. for passwords encoded for PLAIN mechanism not stored in plain format in the repository.- Specified by:
getMechanismin interfaceCredentials.Entry
-
getPassword
-
verifyPlainPassword
Description copied from interface:Credentials.EntryCheck if plaintext password will match stored credential- Specified by:
verifyPlainPasswordin interfaceCredentials.Entry
-