@Override
    public String[] getGroupNames() {
      return this.groups;
    }
A temporary user class to instantiate User instance based on the name and groups.
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessChecker.java