code: public static MatchResponse match(SecurityConstraintCollection securityConstraintCollection, String resourceName, String method) {
          MatchingStrategy matchingStrategy = getMatchingStrategy(method);
          return matchingStrategy.performMatch(securityConstraintCollection, resourceName, method);
      }
docs: Determine what constraints match the given resource access.
  
  @param securityConstraintCollection the security constraints to iterate through.
  @param resourceName the resource name.
  @param method the HTTP method.
  @return the match response.