mirror of https://github.com/apache/activemq.git
[AMQ-8522] Secure /api path on the web console
This commit is contained in:
parent
ae30dce4e2
commit
a74fe37582
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue