org.passay.Rule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of passay Show documentation
Show all versions of passay Show documentation
Library for checking that a password complies with a custom set of rules
/* See LICENSE for licensing and NOTICE for copyright. */
package org.passay;
/**
* Interface for password strength rules.
*
* @author Middleware Services
*/
public interface Rule
{
/**
* Validates the supplied password data per the requirements of this rule.
*
* @param passwordData to verify (not null).
*
* @return details on password verification
*
* @throws NullPointerException if the rule data is null.
*/
RuleResult validate(PasswordData passwordData);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy