You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2022/03/06 06:46:39 UTC
[activemq] branch activemq-5.17.x updated: [AMQ-8522] Secure /api path on the web console
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch activemq-5.17.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-5.17.x by this push:
new f7d9409 [AMQ-8522] Secure /api path on the web console
f7d9409 is described below
commit f7d94093be784f663029ecb764671119db7f3155
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Thu Mar 3 17:34:45 2022 +0100
[AMQ-8522] Secure /api path on the web console
(cherry picked from commit a74fe37582dc7cabc77828fda9642f580f4cf857)
---
assembly/src/release/conf/jetty.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/assembly/src/release/conf/jetty.xml b/assembly/src/release/conf/jetty.xml
index ec753ae..4663fd0 100644
--- a/assembly/src/release/conf/jetty.xml
+++ b/assembly/src/release/conf/jetty.xml
@@ -43,7 +43,7 @@
</bean>
<bean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">
<property name="constraint" ref="securityConstraint" />
- <property name="pathSpec" value="/,*.jsp,*.html,*.js,*.css,*.png,*.gif,*.ico" />
+ <property name="pathSpec" value="/,/api/*,*.jsp,*.html,*.js,*.css,*.png,*.gif,*.ico" />
</bean>
<bean id="adminSecurityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">
<property name="constraint" ref="adminSecurityConstraint" />