You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Nathan Lusher (JIRA)" <ji...@apache.org> on 2015/04/20 09:46:58 UTC

[jira] [Comment Edited] (QPID-6499) QPID C++ Broker - Windows User Authentication

    [ https://issues.apache.org/jira/browse/QPID-6499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502481#comment-14502481 ] 

Nathan Lusher edited comment on QPID-6499 at 4/20/15 7:46 AM:
--------------------------------------------------------------

For completeness, this is how I am initialising the connection:

Connection = new Connection("localhost:5672", "{protocol:amqp1.0} {username:Guest} {password:guest} {sasl-mechanism:PLAIN}");
Connection.Open();

The connection opens OK, but I get the access denied error when attempting to send the message. If I look at the 'AuthenticatedUserName' property of the Connection object, it is empty.


was (Author: nathan.lusher):
For completeness, this is how I am initialising the connection:

Connection = new Connection("localhost:5672", "{protocol:amqp1.0} {username:Guest} {password:guest} {sasl-mechanism:PLAIN}")
Connection.Open();

The connection opens OK, but I get the access denied error when attempting to send the message. If I look at the 'AuthenticatedUserName' property of the Connection object, it is empty.

> QPID C++ Broker - Windows User Authentication
> ---------------------------------------------
>
>                 Key: QPID-6499
>                 URL: https://issues.apache.org/jira/browse/QPID-6499
>             Project: Qpid
>          Issue Type: Bug
>         Environment: Windows 8.1, QPID 0.32, Proton 0.9
>            Reporter: Nathan Lusher
>            Priority: Blocker
>
> Hi,
> I have a C# .NET client happily talking to a QPID broker. I now want to introduce authentication and pass through the username and password as connection options.
> I am able to run the QPID broker with an acl file with the following line:
> acl allow guest all all
> But cannot send a message when I pass {username:guest} {password:guest} in the connection options string.
> I have a Windows user named 'Guest' with a password of 'guest', but that doesn't seem to make any difference.
> I can connect fine when I set auth=no or change the line in the acl file to:
> acl allow all all
> What are the steps in creating / configuring a QPID user in a Windows environment?
> Thanks in advance,
> Nathan.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org