Package fr.paris.lutece.util.password
Interface IPasswordFactory
public interface IPasswordFactory
A factory for handling stored representation of passwords
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet a password which should never match, to be used for timing attack resistancegetPassword(String strStoredPassword) Get a password for the stored representationgetPasswordFromCleartext(String strUserPassword) Get a password for cleartext password
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Method Details
-
getPassword
Get a password for the stored representation- Parameters:
strStoredPassword- the stored password- Returns:
- the password
-
getPasswordFromCleartext
Get a password for cleartext password- Parameters:
strUserPassword- the cleartext password- Returns:
- the password
-
getDummyPassword
IPassword getDummyPassword()Get a password which should never match, to be used for timing attack resistance- Returns:
- a dummy password
-