You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Domenico Francesco Bruscino (Jira)" <ji...@apache.org> on 2021/04/26 13:52:00 UTC
[jira] [Commented] (ARTEMIS-3267) REST API has no params for
authentication in broker
[ https://issues.apache.org/jira/browse/ARTEMIS-3267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332423#comment-17332423 ]
Domenico Francesco Bruscino commented on ARTEMIS-3267:
------------------------------------------------------
You can access Apache ActiveMQ Artemis management API using Jolokia[1] and passing the credentials trough the authorization header, ie:
curl -H "Origin:http://localhost:8161" -u admin:admin http://localhost:8161/console/jolokia/read/org.apache.activemq.artemis:broker=\"broker\"/Version
For further details see the documentation[2] or send an email to the users mailing list users@activemq.apache.org
[1] https://jolokia.org/
[2] https://activemq.apache.org/components/artemis/documentation/latest/management.html#exposing-jmx-using-jolokia
> REST API has no params for authentication in broker
> ---------------------------------------------------
>
> Key: ARTEMIS-3267
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3267
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: API
> Reporter: Andrey Danilenko
> Priority: Major
>
> Starting web application with rest api ends up with error _AMQ229031: Unable to validate user from . Username: null,_ if option *--allow-anonymous=Y* not applied while creating artemis instance. Because there is no way to pass authentication parameters via {{_<rest-messaging><url>_}} - only protocol, host and port are being parsed. Anonymous connections are not allowed for commercial operation. How to solve this ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)