public Group getGroup(String groupName) {
    final GroupEntity groupEntity = groupDAO.findGroupByName(groupName);
    return (null == groupEntity) ? null : new Group(groupEntity);
  }
Gets group by given name.

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