public void setAccessModel(AccessModel accessModel) {
        this.accessModel = accessModel;
    }
Sets the access model that specifies who is allowed to subscribe and retrieve items.

@param accessModel the access model that specifies who is allowed to subscribe and
       retrieve items.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.java