|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PasswordEncryptor
The PasswordEncryptor provides the api to customize
the encryption of passwords.
| Method Summary | |
|---|---|
boolean |
check(String password,
String encrypted)
Returns true if the given plain text equals to the encrypted password. |
String |
encrypt(String password)
Encrypt the given password |
String |
hashAlgorithmName()
In order to distinguish which algorithm was used to hash the password, it needs a unique id. |
| Method Detail |
|---|
String encrypt(String password)
password -
boolean check(String password,
String encrypted)
password - encrypted -
String hashAlgorithmName()
check(java.lang.String, java.lang.String).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||