Merge pull request #585 from jbonofre/AMQ-8045

[AMQ-8045] Use the file: protocol in jetty.xml
This commit is contained in:
Jean-Baptiste Onofré 2020-11-23 13:42:54 +01:00 committed by GitHub
commit 006193aae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<bean id="securityLoginService" class="org.eclipse.jetty.security.HashLoginService"> <bean id="securityLoginService" class="org.eclipse.jetty.security.HashLoginService">
<property name="name" value="ActiveMQRealm" /> <property name="name" value="ActiveMQRealm" />
<property name="config" value="${activemq.conf}/jetty-realm.properties" /> <property name="config" value="file:${activemq.conf}/jetty-realm.properties" />
</bean> </bean>
<bean id="securityConstraint" class="org.eclipse.jetty.util.security.Constraint"> <bean id="securityConstraint" class="org.eclipse.jetty.util.security.Constraint">
@ -155,7 +155,7 @@
<constructor-arg> <constructor-arg>
<bean id="handlers" class="org.eclipse.jetty.util.ssl.SslContextFactory"> <bean id="handlers" class="org.eclipse.jetty.util.ssl.SslContextFactory">
<property name="keyStorePath" value="${activemq.conf}/broker.ks" /> <property name="keyStorePath" value="file:${activemq.conf}/broker.ks" />
<property name="keyStorePassword" value="password" /> <property name="keyStorePassword" value="password" />
</bean> </bean>
</constructor-arg> </constructor-arg>