Interface PasswordResetMail.IResetStep
- Enclosing class:
PasswordResetMail
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The reset step:
BasicUserInfo::resetPassword.- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionreset(StringBuilder newPassword) Resets the password, filling in the new one.
Method Details
reset
Resets the password, filling in the new one.- Parameters:
newPassword- The buffer that receives the new password.- Returns:
nullfor success, otherwise the reason the reset was refused.- Throws:
SQLException- For SQL errors.NotFoundException- If the user has been deleted since login.