boolean addIdentity(String identity) {
        return identities.add(identity);
    }
Adds an identity to the entity capabilities.

@param identity the identity
@return true if the entity capabilities did not already include the
        identity
xmppserver/src/main/java/org/jivesoftware/openfire/entitycaps/EntityCapabilities.java