mirror of https://github.com/apache/activemq.git
[AMQ-6951] Update assembly/reelease/conf/jetty.xml to hide Jetty version
This commit is contained in:
parent
79f1c2feb7
commit
065b9ec33c
|
@ -20,6 +20,10 @@
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||||
|
|
||||||
|
<bean id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
||||||
|
<property name="sendServerVersion" value="false"/>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<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="${activemq.conf}/jetty-realm.properties" />
|
||||||
|
@ -142,7 +146,14 @@
|
||||||
<property name="arguments">
|
<property name="arguments">
|
||||||
<list>
|
<list>
|
||||||
<bean id="Connector" class="org.eclipse.jetty.server.ServerConnector">
|
<bean id="Connector" class="org.eclipse.jetty.server.ServerConnector">
|
||||||
<constructor-arg ref="Server" />
|
<constructor-arg ref="Server"/>
|
||||||
|
<constructor-arg>
|
||||||
|
<list>
|
||||||
|
<bean id="httpConnectionFactory" class="org.eclipse.jetty.server.HttpConnectionFactory">
|
||||||
|
<constructor-arg ref="httpConfig"/>
|
||||||
|
</bean>
|
||||||
|
</list>
|
||||||
|
</constructor-arg>
|
||||||
<!-- see the jettyPort bean -->
|
<!-- see the jettyPort bean -->
|
||||||
<property name="host" value="#{systemProperties['jetty.host']}" />
|
<property name="host" value="#{systemProperties['jetty.host']}" />
|
||||||
<property name="port" value="#{systemProperties['jetty.port']}" />
|
<property name="port" value="#{systemProperties['jetty.port']}" />
|
||||||
|
|
Loading…
Reference in New Issue