Package fr.paris.lutece.util.password
Interface IPasswordFactory
-
public interface IPasswordFactoryA factory for handling stored representation of passwords
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPasswordgetDummyPassword()Get a password which should never match, to be used for timing attack resistanceIPasswordgetPassword(String strStoredPassword)Get a password for the stored representationIPasswordgetPasswordFromCleartext(String strUserPassword)Get a password for cleartext password
-
-
-
Field Detail
-
BEAN_NAME
static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPassword
IPassword getPassword(String strStoredPassword)
Get a password for the stored representation- Parameters:
strStoredPassword- the stored password- Returns:
- the password
-
getPasswordFromCleartext
IPassword getPasswordFromCleartext(String strUserPassword)
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
-
-