Class SpacialMatcher

java.lang.Object
me.gosimple.nbvcxz.matching.SpacialMatcher
All Implemented Interfaces:
PasswordMatcher

public final class SpacialMatcher
extends java.lang.Object
implements PasswordMatcher
Look for every part of the password that is spacial pattern
This will only return matches where there are at least two consecutive characters.
Author:
Adam Brusselback
  • Constructor Summary

    Constructors 
    Constructor Description
    SpacialMatcher()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<Match> match​(Configuration configuration, java.lang.String password)
    Creates a List of Match from the password.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • match

      public java.util.List<Match> match​(Configuration configuration, java.lang.String password)
      Description copied from interface: PasswordMatcher
      Creates a List of Match from the password.
      Specified by:
      match in interface PasswordMatcher
      Parameters:
      configuration - configuration for the matcher.
      password - password to match.
      Returns:
      a List of Matches that this matcher found for the given password and configuration.