All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.passay.Rule Maven / Gradle / Ivy

There is a newer version: 1.6.6
Show newest version
/* 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