From ca113e6c2ca41f7a02087844aa29daebd562533b Mon Sep 17 00:00:00 2001 From: juanlofer-eprosima <88179026+juanlofer-eprosima@users.noreply.github.com> Date: Fri, 13 Dec 2024 12:40:41 +0100 Subject: [PATCH] Add data-sharing with security incompatiblity warning (#979) * Add data-sharing with security incompatiblity warning Signed-off-by: Juan Lopez Fernandez * Apply suggestion Signed-off-by: Juan Lopez Fernandez --------- Signed-off-by: Juan Lopez Fernandez (cherry picked from commit de522489af0bcec861d9f86e9e32c79196c1daaf) --- docs/fastdds/security/includes/intro.rst | 3 +++ docs/fastdds/transport/datasharing.rst | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/fastdds/security/includes/intro.rst b/docs/fastdds/security/includes/intro.rst index b9d8b0e9c..031c7c053 100644 --- a/docs/fastdds/security/includes/intro.rst +++ b/docs/fastdds/security/includes/intro.rst @@ -44,4 +44,7 @@ and its value (:class:`std::string`). However, it is possible to configure basic system security settings, i.e. authentication, access control and encryption, to Fast DDS without this knowledge. +.. warning:: + The use of security plugins is incompatible with :ref:`Data-sharing delivery `. + The following sections describe how to configure each of these properties to set up the Fast DDS security plugins. diff --git a/docs/fastdds/transport/datasharing.rst b/docs/fastdds/transport/datasharing.rst index 14b2ebf45..20e1938c1 100644 --- a/docs/fastdds/transport/datasharing.rst +++ b/docs/fastdds/transport/datasharing.rst @@ -61,6 +61,7 @@ This feature is available only if the following requirements are met: i.e., its |TopicDataType::is_bounded-api| member function returns true. * The Topic :ref:`is not keyed`. * The DataWriter is configured with |PREALLOCATED_MEMORY_MODE-api| or |PREALLOCATED_WITH_REALLOC_MEMORY_MODE-api|. +* No :ref:`security ` plugins are used. There is also a limitation with the DataReader's HistoryQos. Using Data-sharing mechanism, the DataWriter's history is shared with the DataReaders.