[AMQ-8522] Secure /api path on the web console

This commit is contained in:
Jean-Baptiste Onofré 2022-03-03 17:34:45 +01:00
parent ae30dce4e2
commit a74fe37582
1 changed files with 1 additions and 1 deletions

View File

@ -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" />