@Override
    public boolean canCreateNode(JID creator) {
        // Node creation is always allowed for sysadmin
        return !isNodeCreationRestricted() || isServiceAdmin(creator);
    }
Constructs a PEPService.

@param server  the XMPP server.
@param bareJID the bare JID (service ID) of the user owning the service.
xmppserver/src/main/java/org/jivesoftware/openfire/pep/PEPService.java