Package org.passay

Class DictionaryRule

  • All Implemented Interfaces:

    public class DictionaryRule
    extends AbstractDictionaryRule
    Rule for determining if a password matches a dictionary word. This rule will optionally also check for reversed words.
    Middleware Services
    • Field Detail


        public static final String ERROR_CODE_REVERSED
        Error code for matching reversed dictionary word.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DictionaryRule

        public DictionaryRule​(Dictionary dict)
        Creates a new dictionary rule. The dictionary should be ready to use when passed to this constructor.
        dict - to use for searching