activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiri Daněk (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (ARTEMIS-1435) Expose the Jolokia security configuration for the web console
Date Thu, 05 Oct 2017 11:20:01 GMT

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

Jiri Daněk edited comment on ARTEMIS-1435 at 10/5/17 11:19 AM:
---------------------------------------------------------------

[~gtully] This has the unfortunate result that when my machine has multiple names, in my case
127.0.0.1, localhost, and hugacaka, which is the hostname, I am able to access hawtio only
on http://localhost:8161. On the other addresses, I get error toasts

{noformat}
[Core] Operation unknown failed due to: java.lang.Exception : Origin http://hugacaka:8161
is not allowed to call this agent

[Window] Uncaught TypeError: Cannot read property 'apply' of undefined (http://nixos:8161/console/app/app.js?0aab0bf03f0d4174:16:13975)
{noformat}

These other names resolve to 127.0.0.1.

How can I configure it for the other names, without having to list them all?

I've used apache-artemis-2.4.0-20171004.165128-60-bin snapshot.


was (Author: jdanek):
[~gtully] This has the unfortunate result that when my machine has multiple names, in my case
127.0.0.1, localhost, and hugacaka, which is the hostname, I am able to access hawtio only
on http://127.0.0.1:8161. On the other addresses, I get error toasts

{noformat}
[Core] Operation unknown failed due to: java.lang.Exception : Origin http://hugacaka:8161
is not allowed to call this agent

[Window] Uncaught TypeError: Cannot read property 'apply' of undefined (http://nixos:8161/console/app/app.js?0aab0bf03f0d4174:16:13975)
{noformat}

These other names resolve to 127.0.0.1.

How can I configure it for the other names, without having to list them all?

I've used apache-artemis-2.4.0-20171004.165128-60-bin snapshot.

> Expose the Jolokia security configuration for the web console
> -------------------------------------------------------------
>
>                 Key: ARTEMIS-1435
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1435
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: 2.3.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 2.4.0
>
>
> Jolokia JMX-HTTP bridge has advanced security features that are configured via a policy
file. We should provide a template policy file in our configuration for easy access and to
lock down the web console to ${http.host}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message