private List < Match > getAllMatches ( final Configuration configuration , final String password ) { List < Match > matches = new ArrayList <> ( ) ; for ( PasswordMatcher passwordMatcher : configuration . getPasswordMatchers ( ) ) { matches . addAll ( passwordMatcher . match ( configuration , password ) ) ; } keepLowestMatches ( matches ) ; return matches ; }
Gets all matches for a given password .