| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
activate(java.lang.Long passwordTypeId)
Activates the generated password a new password for the current user
|
void |
allowActivation(UserLocatorVO locator,
java.lang.Long passwordTypeId)
Allows the given user to activate the given generated and pending password
|
void |
change(ChangePasswordDTO dto)
Manually changes a password
|
void |
disable(UserLocatorVO locator,
java.lang.Long passwordTypeId)
Disables a password.
|
void |
enable(UserLocatorVO locator,
java.lang.Long passwordTypeId)
Enables a disabled password.
|
ChangePasswordData |
getChangePasswordData()
Returns data for change the main login password
|
UserPasswordsData |
getData(UserLocatorVO locator)
Returns data for user passwords
|
void |
reset(UserLocatorVO locator,
java.lang.Long passwordTypeId)
Resets the given generated password and allow it to be activated again
|
void |
resetAndSend(UserLocatorVO locator,
java.lang.Long passwordTypeId)
Generates a new value of a manual password and send it to the user (for example, via e-mail).
|
void |
unblock(UserLocatorVO locator,
java.lang.Long passwordTypeId)
Unblocks the given user password
|
java.lang.String activate(java.lang.Long passwordTypeId)
throws FrameworkException,
IllegalActionException
IllegalActionException - When the given password type is not generated, or is not in the pending stateFrameworkExceptionvoid allowActivation(UserLocatorVO locator, java.lang.Long passwordTypeId) throws FrameworkException, IllegalActionException
IllegalActionException - When the given password is not generated / doesn't apply to the given userFrameworkExceptionvoid change(ChangePasswordDTO dto) throws FrameworkException, IllegalActionException, PasswordException, ValidationException
PasswordException - The current password is invalidValidationException - When the given new password is invalid according to the constraintsIllegalActionException - When the current password cannot be changed (for example, it is generated)FrameworkExceptionvoid disable(UserLocatorVO locator, java.lang.Long passwordTypeId) throws FrameworkException, IllegalActionException
IllegalActionException - When the current password cannot be disabled (for example, is already disabled)FrameworkExceptionvoid enable(UserLocatorVO locator, java.lang.Long passwordTypeId) throws FrameworkException, IllegalActionException
IllegalActionException - When the current password cannot be enabled (not in the disabled state)FrameworkExceptionChangePasswordData getChangePasswordData() throws FrameworkException
FrameworkExceptionUserPasswordsData getData(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionvoid reset(UserLocatorVO locator, java.lang.Long passwordTypeId) throws FrameworkException, IllegalActionException
void resetAndSend(UserLocatorVO locator, java.lang.Long passwordTypeId) throws FrameworkException, IllegalActionException
void unblock(UserLocatorVO locator, java.lang.Long passwordTypeId) throws FrameworkException, IllegalActionException
IllegalActionException - When the given password is not blocked / doesn't apply to the given userFrameworkException