class CrowdAdminProvider implements AdminProvider {
    private static final Logger LOG = LoggerFactory.getLogger(CrowdAdminProvider.class);
    private static final String JIVE_AUTHORIZED_GROUPS = "admin.authorizedGroups";

    @Override
    public List<JID> getAdmins() {<FILL_FUNCTION_BODY>}

    @Override
    public void setAdmins(List<JID> admins) {
    }

    @Override
    public boolean isReadOnly() {
        return true;
    }

}

        List<JID> results = new ArrayList<>();
        
        GroupProvider provider = GroupManager.getInstance().getProvider();
        
        String groups = JiveGlobals.getProperty(JIVE_AUTHORIZED_GROUPS);
        groups = (groups == null || groups.trim().length() == 0) ? "" : groups;
        JiveGlobals.setProperty(JIVE_AUTHORIZED_GROUPS, groups); // make sure the property is created
        StringTokenizer tokenizer = new StringTokenizer(groups, ",");
        while (tokenizer.hasMoreTokens()) {
            String groupName = tokenizer.nextToken().trim().toLowerCase();
            
            if (groupName.length() > 0) {
                try {
                    LOG.info("Adding admin users from group: " + groupName);
                    Group group = provider.getGroup(groupName);
                    if (group != null) {
                        results.addAll(group.getMembers());
                    }
                    
                } catch (GroupNotFoundException gnfe) {
                    LOG.error("Error when trying to load the members of group:" + groupName, gnfe);
                }
            }
        }
        
        
        if (results.isEmpty()) {
            // Add default admin account when none was specified
            results.add(new JID("admin", XMPPServer.getInstance().getServerInfo().getXMPPDomain(), null, true));
        }
        
        LOG.debug("admin users: {}", results);

        return results;
    
<no_super_class>