
org.passay.MessageResolver 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;
/**
* Strategy pattern interface for resolving messages from password validation failures described by a {@link
* RuleResultDetail} object.
*
* @author Middleware Services
*/
public interface MessageResolver
{
/**
* Resolves the message for the supplied rule result detail.
*
* @param detail rule result detail
*
* @return message for the detail error code
*/
String resolve(RuleResultDetail detail);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy