[
https://issues.apache.org/jira/browse/QPID-6499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502472#comment-14502472
]
Nathan Lusher commented on QPID-6499:
-------------------------------------
Thanks guys. I've added the log switch and this is the output. Does this mean
the user id is not being passed in? I can find no mention of 'Guest'. I have
tried this with {username:Guest} as well as {username:Guest@QPID}:
2015-04-20 08:32:32 [Security] trace ACL ConnectionCounter new connection: qpid.
[::1]:5672-[::1]:50438
2015-04-20 08:32:32 [Security] trace Completed encoding of frame of 40 bytes
2015-04-20 08:32:32 [Security] trace qpid.[::1]:5672-[::1]:50438 Sasl::encode(65
536): 48
2015-04-20 08:32:32 [Security] trace Reading SASL frame of size 42
2015-04-20 08:32:32 [Security] trace Reading SASL-INIT
2015-04-20 08:32:32 [Security] trace ACL: Connection quota for user unavailable
; quota settings are not specified. Return value : 0
2015-04-20 08:32:32 [Security] trace ACL: ConnectionApprover host list default c
onnection policy allows connection for host ::1, user (D:\QPID\qpid-cpp-0.32\sr
c\qpid\acl\AclData.cpp:726)
2015-04-20 08:32:32 [Security] trace ACL ConnectionApprover totalLimit=500 curVa
lue=1 result=allow
2015-04-20 08:32:32 [Security] trace ACL ConnectionApprover user= limit=0 curVal
ue=1 result=allow
2015-04-20 08:32:32 [Security] trace Completed encoding of frame of 16 bytes
2015-04-20 08:32:32 [Security] info qpid.[::1]:5672-[::1]:50438 Authenticated as
2015-04-20 08:32:32 [Security] trace qpid.[::1]:5672-[::1]:50438 Sasl::decode(42
): 42
2015-04-20 08:32:32 [Security] trace qpid.[::1]:5672-[::1]:50438 Sasl::encode(65
536): 16
2015-04-20 08:32:32 [Security] debug ACL: Lookup for id: action:access objectTyp
e:exchange name:falconworkertestqueue with params { }
2015-04-20 08:32:32 [Security] debug ACL: No successful match, defaulting to the
decision mode deny
2015-04-20 08:32:32 [Security] debug ACL: Lookup for id: action:access objectTyp
e:queue name:falconworkertestqueue with params { }
2015-04-20 08:32:33 [Security] debug ACL: No successful match, defaulting to the
decision mode deny
2015-04-20 08:32:33 [Protocol] error Error on attach: ACL denied access request
to falconworkertestqueue from (D:\QPID\qpid-cpp-0.32\src\qpid\broker\amqp\Autho
rise.cpp:144)
2015-04-20 08:32:33 [Security] trace ACL ConnectionCounter closed: qpid.[::1]:56
72-[::1]:50438, userId:
> 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: [email protected]
For additional commands, e-mail: [email protected]