private boolean isAccessibleUserFilter(Set<String> filters,String requestPath){
  String index=normalizeUrlPath(requestPath);
  String[] array=filters.toArray(new String[0]);
  for (  String filter : array) {
    if (index.matches(filter)) {
      return true;
    }
  }
  return false;
}

private boolean isAccessibleUserFilter ( Set < String > filters , String requestPath ) { String index = normalizeUrlPath ( requestPath ) ; String [ ] array = filters . toArray ( new String [ 0 ] ) ; for ( String filter : array ) { if ( index . matches ( filter ) ) { return true ; } } return false ; }
check if an user has filter matching regex rules
