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

JAkub Scholz commented on QPID-4666:
------------------------------------

Hi Robbie,

Thanks for the commit. I tested it and it seems to work fine ... with latest 
trunk I'm now getting following Exception containing both the queue name as 
well as the destination:

[IoReceiver - prmd05.xeop.de/172.16.11.49:61314] DEBUG 
org.apache.qpid.transport.Connection - RECV: [conn:cc00cc0] ch=0 
ExecutionException(errorCode=UNAUTHORIZED_ACCESS, commandId=2, 
description=Cannot subscribe to queue 
'broadcast.CBKFR_CBKFRALMMACC1.TradeConfirmation' with destination '1': 
Permission denied)

So from my point of view it is fixed and good to go.

Thanks & Regards
Jakub
                
> [Java Broker] Incorrect exception messages returned following 0-10 
> MessageSubscribe failure
> -------------------------------------------------------------------------------------------
>
>                 Key: QPID-4666
>                 URL: https://issues.apache.org/jira/browse/QPID-4666
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6, 0.8, 0.10, 0.12, 0.14, 0.16, 0.18, 0.20
>         Environment: Linux, Java 1.6, Qpid Java Client 0.20, Qpid Java Broker 
> 0.23 (trunk)
>            Reporter: JAkub Scholz
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.22
>
>         Attachments: client.log, QPID-4666a.patch, QPID-4666.patch
>
>
> When AMQP client tries to subscribe to a queue which he is not allowed to 
> assign to due to insufficient ACL rights, he seems to receive a slightly 
> incorrect error message:
> Cannot subscribe to '1': Permission denied
> instead of:
> Cannot subscribe to 'queueName': Permission denied

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to