-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.1 on OSE
-
None
-
OSE 2.1, fuse build 395-1
The port mapper does not seem to translate SNI ports. Attempting to configure a cxf service to use TLS with the following config I still see an untranslated internal port in the API view
https://fuse3-foobar.apps.sample.com:4001/server/ws/hello1tls
(should be :2308 )
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xmlns:cxf="http://camel.apache.org/schema/cxf"
xmlns:cxfcore="http://cxf.apache.org/core"
xmlns:sec="http://cxf.apache.org/configuration/security"
xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd
http://cxf.apache.org/transports/http-jetty/configuration http://cxf.apache.org/schemas/configuration/http-jetty.xsd">
<!-- spring property placeholder, ignore resource not found as the file resource is for unit testing -->
<context:property-placeholder ignore-resource-not-found="true"/>
<httpj:engine-factory bus="cxf">
<httpj:engine host="${bind.address}" port="${app1.tls.port}">
<httpj:tlsServerParameters>
<sec:keyManagers keyPassword="password">
<sec:keyStore resource="keystore.jks" password="password" type="JKS"/>
</sec:keyManagers>
<sec:trustManagers>
<sec:keyStore resource="keystore.jks" password="password" type="JKS"/>
</sec:trustManagers>
<sec:cipherSuitesFilter>
<sec:include>.*_WITH_3DES_.*</sec:include>
<sec:include>.*_WITH_DES_.*</sec:include>
<sec:exclude>.*_WITH_NULL_.*</sec:exclude>
<sec:exclude>.*_DH_anon_.*</sec:exclude>
</sec:cipherSuitesFilter>
<sec:clientAuthentication want="true" required="false"/>
</httpj:tlsServerParameters>
</httpj:engine>
</httpj:engine-factory>
<bean id="hello1" class="org.bobland.ws.HelloImpl1">
<property name="hello" value="hello1"/>
</bean>
<jaxws:server id="service1tls" serviceClass="org.bobland.ws.Hello1" address="https://${bind.address}:${app1.tls.port}/server/ws/hello1tls">
<jaxws:serviceBean>
<ref bean="hello1" />
</jaxws:serviceBean>
</jaxws:server>
</beans>