Package fr.paris.lutece.util.password
Interface IPasswordFactory
-
public interface IPasswordFactoryA factory for handling stored representation of passwords
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_NAME
-
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(java.lang.String strStoredPassword)Get a password for the stored representationIPasswordgetPasswordFromCleartext(java.lang.String strUserPassword)Get a password for cleartext password
-
-
-
Field Detail
-
BEAN_NAME
static final java.lang.String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPassword
IPassword getPassword(java.lang.String strStoredPassword)
Get a password for the stored representation- Parameters:
strStoredPassword- the stored password- Returns:
- the password
-
getPasswordFromCleartext
IPassword getPasswordFromCleartext(java.lang.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
-
-