[
https://issues.apache.org/jira/browse/ARTEMIS-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841941#comment-16841941
]
Domenico Bruscino commented on ARTEMIS-2344:
--------------------------------------------
links to
> [AMQP] Broker does not send security errors for unauthorized anonymous sasl
> ---------------------------------------------------------------------------
>
> Key: ARTEMIS-2344
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2344
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 2.9.0
> Reporter: Domenico Bruscino
> Priority: Major
>
> When user attempts unauthorized anonymous sasl, using AMQP protocol, the
> broker can return an internal error ("amqp:internal-error") instead of the
> security error ("amqp:unauthorized-access") that is expected in these cases.
>
> Source code to reproduce the issue using test
> testNoUserOrPasswordWithoutSaslRestrictions:
> https://github.com/brusdev/activemq-artemis/blob/amqp_security_error/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSConnectionWithSecurityTest.java
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)