|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PasswordEncryptor
Strategy used for encrypting and matching encrypted passwords. The purpose is to make the password encryption possible to extend.
| Method Summary | |
|---|---|
String |
encrypt(String password)
Encrypts the password |
boolean |
matches(String passwordToCheck,
String storedPassword)
Matches an encrypted password with that stored |
| Method Detail |
|---|
String encrypt(String password)
password - The clear text password
boolean matches(String passwordToCheck,
String storedPassword)
passwordToCheck - The encrypted password to checkstoredPassword - The stored password
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||