Package io.jmix.securityflowui.password
Interface PasswordValidator<E>
- Type Parameters:
E
- type of the user entity
public interface PasswordValidator<E>
Interface to be implemented by beans that validate password when it is created or changed for a user.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(PasswordValidationContext<E> context) Validates the password for the given user.
-
Method Details
-
validate
Validates the password for the given user.- Parameters:
context
- object containing information about the user and password- Throws:
PasswordValidationException
- in case of validation error
-