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

Support the PLAIN (and/or other) authentication method in the proton-j messenger

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: proton-0.5
    • Fix Version/s: None
    • Component/s: proton-j
    • Labels:
    • Environment:
      all

      Description

      The proton-j messenger only supports anonymous authentication at the moment. Lack of other mechanisms limits the messenger's usability especially with message brokers.

      A simple test is running the org.apache.qpid.proton.example Recv and Send classes against the Qpid java broker. They work only if the AMQP port uses anonymous authentication. With the default password file authentication they fire a steady stream of exceptions like:

      Sep 04, 2013 4:21:06 PM org.apache.qpid.proton.messenger.impl.MessengerImpl processActive
      SEVERE: Error processing connection
      java.io.IOException: An established connection was aborted by the software in your host machine
      at sun.nio.ch.SocketDispatcher.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(Unknown Source)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
      at sun.nio.ch.IOUtil.read(Unknown Source)
      at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
      at org.apache.qpid.proton.driver.impl.ConnectorImpl.read(ConnectorImpl.java:127)
      at org.apache.qpid.proton.driver.impl.ConnectorImpl.process(ConnectorImpl.java:93)
      at org.apache.qpid.proton.messenger.impl.MessengerImpl.processActive(MessengerImpl.java:502)
      at org.apache.qpid.proton.messenger.impl.MessengerImpl.waitUntil(MessengerImpl.java:617)
      at org.apache.qpid.proton.messenger.impl.MessengerImpl.waitUntil(MessengerImpl.java:585)
      at org.apache.qpid.proton.messenger.impl.MessengerImpl.recv(MessengerImpl.java:254)
      at org.apache.qpid.proton.messenger.impl.MessengerImpl.recv(MessengerImpl.java:259)
      at org.apache.qpid.proton.example.Recv.run(Recv.java:108)
      at org.apache.qpid.proton.example.Recv.main(Recv.java:127)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonalbrecht Jonathan Albrecht
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: