public CollectionNode.LeafNodeAssociationPolicy getAssociationPolicy() {
        return associationPolicy;
    }
Returns the policy that defines who may associate leaf nodes with a collection.

@return the policy that defines who may associate leaf nodes with a collection.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.java