You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2013/11/06 17:24:18 UTC

[jira] [Assigned] (QPID-5300) Some ACL errors are returned as internal error instead of unauthorized error

     [ https://issues.apache.org/jira/browse/QPID-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim reassigned QPID-5300:
--------------------------------

    Assignee: Gordon Sim

> Some ACL errors are returned as internal error instead of unauthorized error
> ----------------------------------------------------------------------------
>
>                 Key: QPID-5300
>                 URL: https://issues.apache.org/jira/browse/QPID-5300
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.25
>            Reporter: JAkub Scholz
>            Assignee: Gordon Sim
>             Fix For: 0.25
>
>
> It seems when some ACL errors occur, the C++ broker is sometimes using the AMQP 1.0 error code unauthorized-access and sometimes internal-error. For example the "ACL denied queue access" error is amqp:unauthorized-access:
> {{[0x24ca9d0:0] <- @detach [handle=0, closed=true, error=@error {condition=:"amqp:unauthorized-access", description="ACL denied queue access request from ABCFR_ABCFRALMMACC1@QPID0000 (/home/jakub/qpid/qpid-trunk/cpp/src/qpid/broker/amqp/Authorise.cpp:72)"]]}}
> But "ACL denied queue create access" is amqp:internal-error:
> {{[0x1d14b10:0] <- @detach [handle=1, closed=true, error=@error [condition=:"amqp:internal-error", description="unauthorized-access: ACL denied queue create request from ABCFR_ABCFRALMMACC1@QPID0000 (/home/jakub/qpid/qpid-trunk/cpp/src/qpid/broker/Broker.cpp:1295)"]]}}
> I would expect that all ACL errors should be returned as amqp:unauthorized-access.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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