public Group getGroup(String groupName, GroupType groupType) {
    final GroupEntity groupEntity = getGroupEntity(groupName, groupType);
    return (null == groupEntity) ? null : new Group(groupEntity);
  }
Gets group by given name & type.

@param groupName group name
@param groupType group type
@return group
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/Users.java