java.lang.Object
me.gosimple.nbvcxz.matching.SequenceMatcher
- All Implemented Interfaces:
PasswordMatcher
public final class SequenceMatcher extends java.lang.Object implements PasswordMatcher
Look for every part of the password that is a sequence (abc, 123)
- Author:
- Adam Brusselback
-
Constructor Summary
Constructors Constructor Description SequenceMatcher() -
Method Summary
Modifier and Type Method Description java.util.List<Match>match(Configuration configuration, java.lang.String password)Creates aListofMatchfrom the password.
-
Constructor Details
-
SequenceMatcher
public SequenceMatcher()
-
-
Method Details
-
match
Description copied from interface:PasswordMatcherCreates aListofMatchfrom the password.- Specified by:
matchin interfacePasswordMatcher- Parameters:
configuration- configuration for the matcher.password- password to match.- Returns:
- a
ListofMatches that this matcher found for the given password and configuration.
-