code: boolean matches(final String path) {
  
          logger.debug("path to match: {}", path);
  
          if (excludedPaths.contains(path)) {
              return false;
          }
  
          for (Pattern pattern : excludedPatterns) {
              if (pattern.matcher(path).matches()) {
                  return false;
              }
          }
  
          return true;
      }
docs: Returns true if a path should be authenticated, false to skip authentication.