code: private boolean matches(String path, String... paths) {
  		if (paths.length == 0) {
  			return true;
  		}
  
  		for (String p : paths) {
  			/* TODO we should use the same mechanism servlets use to match paths */
  			if (p.equalsIgnoreCase(path)) {
  				return true;
  			}
  		}
  
  		return false;
  	}
docs: Helper method. Checks if the <code>path</code> is in the array of <code>paths</code>.
  
  @param path the path we want to check.
  @param paths the paths to match.
  
  @return true if the <code>path</code> matches the <code>paths</code> (at least one), false otherwise.