Validation/Generation
- Passay - Password Validation
- Passay - Customized Messages
- Passay - M of N Rules
- Passay - Password Generation
Positive Matching Rules
- passay - AllowedCharacterRule
- Passay - AllowedRegexRule
- Passay - CharacterRule
- passay - LengthRule
- Passay - CharacterCharacteristicsRule
- Passay - LengthComplexityRule
Negative Matching Rules
- Passay - lllegalCharacterRule
- Passay - NumberRangeRule
- Passay - WhitespaceRule
- Passay - DictionaryRule
- Passay - DictionarySubstringRule
- Passay - HistoryRule
- passay - RepeatCharacterRegexRule
- Passay - UsernameRule
Passay Useful Resources
Passay - Overview
Passay is a Java based Password generation and validation library. It provides comprehensive features list in order to validate/generate passwords and is highly configurable.
Passay Components
Passay API has 3 core components.
Rule − one or more rules which define a password policy rule set.
PasswordValidator − A validator component which validates a password against a given rule set.
PasswordGenerator − A generator component which produces passwords to satisfy a given rule set.
Rule overview
Rules are the foundation blocks for both password validation and generation. There are two broad categories of rules:
Positive match require that passwords satisfy a rule.
Negative match reject passwords that satisfy a rule.
Features
Following are some of the features that Passay library provides.
Password Validation − Passay library helps in enforcing a password policy by validating passwords against a configurable rule set. It has a rich set of existing rules for common use-cases. For additional cases, it provides a simple Rule interface to implement the custom rule.
Password Generation − It provides a configurable rule set which can be used to generate passwords as well.
Command Line Tools − It provides tools to automate password policy enforcement.
convenient − Easy to use.
Extensible − All Passay components are extensible.
Supports Internalization - Passay components are internationalization ready.