@Override
    public boolean equals(Object obj) {
        if (obj == this)
            return true;

        if (getClass() != obj.getClass())
            return false;

        Node compareNode = (Node) obj;

        return getUniqueIdentifier().equals(compareNode.getUniqueIdentifier());
    }
Approves or cancels a subscriptions that was pending to be approved by a node owner.
Subscriptions that were not approved will be deleted. Approved subscriptions will be
activated (i.e. will be able to receive event notifications) as long as the subscriber
is not required to configure the subscription.

@param subscription the subscriptions that was approved or rejected.
@param approved true when susbcription was approved. Otherwise the subscription was rejected.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java