private void removeAffiliation(NodeAffiliate affiliate) {
        getLogger().trace("Remove '{}' as {}", affiliate.getJID(), affiliate.getAffiliation());
        // Remove the existing affiliate from the list in memory
        affiliates.remove(affiliate);
        if (savedToDB) {
            getLogger().trace("Remove the affiliate in the database");
            XMPPServer.getInstance().getPubSubModule().getPersistenceProvider().removeAffiliation(this, affiliate);
        }

        // TODO OF-2769 Investigate if it is desirable to update the other cluster members with the removed affiliation.
    }
Removes the banning to subscribe to the node for the specified entity.

@param jid the JID of the user that is no longer an outcast.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java