public class StandardSyntaxRules
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.function.ToDoubleFunction<char[]> |
characterClasses(int minClasses,
double weight) |
Returns a syntax rule scoring the number of character classes in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
consecutiveDigits(double weight) |
Returns a syntax rule scoring the number of consecutive digits in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
consecutiveLowerCaseLetters(double weight) |
Returns a syntax rule scoring the number of consecutive lower-case letters in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
consecutiveUpperCaseLetters(double weight) |
Returns a syntax rule scoring the number of consecutive upper-case letters in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
digits(double weight) |
Returns a syntax rule scoring the number of digits in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
digitsOnly(double weight) |
Returns a syntax rule scoring digit-only passwords.
|
static java.util.function.ToDoubleFunction<char[]> |
length(int minLength,
double weight) |
Returns a syntax rule scoring the length of the password.
|
static java.util.function.ToDoubleFunction<char[]> |
lessCommonSpecialChars(double weight) |
Returns a syntax rule scoring the number of less common special characters in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
lettersOnly(double weight) |
Returns a syntax rule scoring letter-only passwords.
|
static java.util.function.ToDoubleFunction<char[]> |
lowerCaseLetters(double weight) |
Returns a syntax rule scoring the number of lower-case letters in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
midDigits(double weight) |
Returns a syntax rule scoring the number of digits in the middle of the password.
|
static java.util.function.ToDoubleFunction<char[]> |
midLessCommonSpecialChars(double weight) |
Returns a syntax rule scoring the number of less common special characters in the middle of the password.
|
static java.util.function.ToDoubleFunction<char[]> |
midMoreCommonSpecialChars(double weight) |
Returns a syntax rule scoring the number of more common special characters in the middle of the password.
|
static java.util.function.ToDoubleFunction<char[]> |
moreCommonSpecialChars(double weight) |
Returns a syntax rule scoring the number of more common special characters in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
sequentialDigits(int minSequenceLength,
double weight) |
Returns a syntax rule scoring the sequences of digits in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
sequentialLetters(int minSequenceLength,
double weight) |
Returns a syntax rule scoring the sequences of letters in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
sequentialSpecialChars(int minSequenceLength,
double weight) |
Returns a syntax rule scoring the sequences of special characters in the password.
|
static java.util.function.ToDoubleFunction<char[]> |
upperCaseLetters(double weight) |
Returns a syntax rule scoring the number of upper-case letters in the password.
|
public static java.util.function.ToDoubleFunction<char[]> characterClasses(int minClasses,
double weight)
java.lang.IllegalArgumentException - if minClasses is not positivejava.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> consecutiveDigits(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> consecutiveLowerCaseLetters(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> consecutiveUpperCaseLetters(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> digits(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> digitsOnly(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> length(int minLength,
double weight)
java.lang.IllegalArgumentException - if minLength is not positivejava.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> lessCommonSpecialChars(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> lettersOnly(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> lowerCaseLetters(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> midDigits(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> midLessCommonSpecialChars(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> midMoreCommonSpecialChars(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> moreCommonSpecialChars(double weight)
java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> sequentialDigits(int minSequenceLength,
double weight)
java.lang.IllegalArgumentException - if minSequenceLength is less than 2java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> sequentialLetters(int minSequenceLength,
double weight)
java.lang.IllegalArgumentException - if minSequenceLength is less than 2java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> sequentialSpecialChars(int minSequenceLength,
double weight)
java.lang.IllegalArgumentException - if minSequenceLength is less than 2java.lang.IllegalArgumentException - if weight is not a finite valuepublic static java.util.function.ToDoubleFunction<char[]> upperCaseLetters(double weight)
java.lang.IllegalArgumentException - if weight is not a finite value