Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1245

[cpp] There should be a way to set transport security options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cpp-binding

    Description

      Currently we have no C++ binding equivalent to pn_transport_require_auth() and pn_transport_require_encryption().

      This means that we can't currently write credible AMQP servers using the C++ binding.

      There is a design issue here though - It is not actually clear that just adding these functions in exactly the same API location (to the transport object) is the correct design for the C++ API.
      Maybe they should be options passed into the container::listen() function.
      They would probably have to be a new kind of listener_option since these options have to take effect before the listen_handler can ever be called.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: