public static List<UserPermission> getUserPermissions(Connection connection, String tableRegex,
    byte[] columnFamily) throws Throwable {
    return getUserPermissions(connection, tableRegex, columnFamily, null, HConstants.EMPTY_STRING);
  }
List all the userPermissions matching the given table pattern and column family.
@param connection   Connection
@param tableRegex   The regular expression string to match against. It shouldn't be null, empty
                    or a namespace regular expression.
@param columnFamily Column family
@return List of UserPermissions
@throws Throwable on failure
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlClient.java