public interface PasswordHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_PASSWORD
Script attribute: the password value to check
|
static java.lang.String |
ATTR_PASSWORD_TYPE
Script attribute: the password type being checked
|
static java.lang.String |
ATTR_USER
Script attribute: the user to check password
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkConfirmationPassword(java.lang.String password)
Checks the confirmation password for the logged user, if used
|
void |
checkPassword(boolean forLogin,
PasswordType type,
BasicUser user,
java.lang.String password)
Checks the password for the given user, doing different checks if it's for login
|
void |
checkPassword(PasswordType type,
BasicUser user,
java.lang.String password)
Checks the password for the given user
|
PasswordInputDTO |
getConfirmationPasswordInput()
Returns the input for the confirmation password for the logged user
|
PasswordType |
getConfirmationPasswordType()
Returns the password type used to confirm operations for the logged user
|
PasswordInputDTO |
getPasswordInput(PasswordType passwordType)
Returns the password input information for the given password type
|
void |
notifyPasswordStatusChanged(PasswordType type,
BasicUser user,
PasswordStatus status)
Notifies the user that a password has changed its status
|
static final java.lang.String ATTR_USER
static final java.lang.String ATTR_PASSWORD_TYPE
static final java.lang.String ATTR_PASSWORD
void checkConfirmationPassword(java.lang.String password)
throws PasswordException
PasswordExceptionvoid checkPassword(boolean forLogin,
PasswordType type,
BasicUser user,
java.lang.String password)
throws PasswordException
PasswordExceptionvoid checkPassword(PasswordType type, BasicUser user, java.lang.String password) throws PasswordException
PasswordExceptionPasswordInputDTO getConfirmationPasswordInput()
PasswordType getConfirmationPasswordType()
PasswordInputDTO getPasswordInput(PasswordType passwordType)
void notifyPasswordStatusChanged(PasswordType type, BasicUser user, PasswordStatus status)