@Override
    public Iterator<Element> getIdentities() {
        Element identity = DocumentHelper.createElement("identity");
        identity.addAttribute("category", "pubsub");
        identity.addAttribute("type", "pep");
        return Collections.singleton(identity).iterator();
    }
Implements ServerIdentitiesProvider and UserIdentitiesProvider, adding
the PEP identity to the respective disco#info results.
xmppserver/src/main/java/org/jivesoftware/openfire/pep/IQPEPHandler.java