public void addAdminAccount(JID jid) {
        if (adminList == null) {
            loadAdminList();
        }
        JID bareJID = jid.asBareJID();
        if (adminList.contains(bareJID)) {
            // Already have them.
            return;
        }
        // Add new admin to cache.
        adminList.add(bareJID);
        // Store updated list of admins with provider.
        provider.setAdmins(adminList);
    }
Adds a new account to the list of Admin accounts, based off a JID.

@param jid JID of account to add to list of admins.
xmppserver/src/main/java/org/jivesoftware/openfire/admin/AdminManager.java