Package tigase.auth.credentials
Interface Credentials.Encoder
-
- All Known Implementing Classes:
MD5PasswordCredentialsEntry.Encoder,MD5UserIdPasswordCredentialsEntry.Encoder,MD5UsernamePasswordCredentialsEntry.Encoder,PlainCredentialsEntry.Encoder,ScramCredentialsEntry.Encoder,ScramSha1CredentialsEntry.Encoder,ScramSha256CredentialsEntry.Encoder,ScramSha512CredentialsEntry.Encoder
- Enclosing interface:
- Credentials
public static interface Credentials.EncoderInterface implemented by credentials encoder converting them from plaintext value to encoded form stored in the database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringencode(BareJID user, String password)Encrypt plaintext password for userStringgetName()Name of mechanism for which encoder works
-
-
-
Method Detail
-
getName
String getName()
Name of mechanism for which encoder works- Returns:
- name of mechanism for which encoder works
-
-