You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Jonathan Albrecht (JIRA)" <ji...@apache.org> on 2013/09/06 16:37:52 UTC

[jira] [Created] (PROTON-421) Support the PLAIN (and/or other) authentication method in the proton-j messenger

Jonathan Albrecht created PROTON-421:
----------------------------------------

             Summary: Support the PLAIN (and/or other) authentication method in the proton-j messenger
                 Key: PROTON-421
                 URL: https://issues.apache.org/jira/browse/PROTON-421
             Project: Qpid Proton
          Issue Type: New Feature
          Components: proton-j
    Affects Versions: 0.5
         Environment: all
            Reporter: Jonathan Albrecht


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) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira