You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Alex Shneyderman <a....@gmail.com> on 2007/12/25 13:22:15 UTC

Configuration, the non spring 2 way?

Hi, all!

Is there a way to specify this config:

<http:conduit name="{http://apache.org/hello_world}HelloWorld.http-conduit">
	   <http:tlsClientParameters>
	      <sec:keyManagers keyPassword="password">
	           <sec:keyStore type="JKS" password="password"
	
file="src/test/java/org/apache/cxf/systest/http/resources/Morpit.jks"/>
	      </sec:keyManagers>
	      <sec:trustManagers>
	          <sec:keyStore type="JKS" password="password"
	
file="src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"/>
	      </sec:trustManagers>
	      <sec:cipherSuitesFilter>
	        <sec:include>.*_EXPORT_.*</sec:include>
	        <sec:include>.*_EXPORT1024_.*</sec:include>
	        <sec:include>.*_WITH_DES_.*</sec:include>
	        <sec:include>.*_WITH_NULL_.*</sec:include>
	        <sec:exclude>.*_DH_anon_.*</sec:exclude>
	      </sec:cipherSuitesFilter>
	  </http:tlsClientParameters>
          <http:client AutoRedirect="true" Connection="Keep-Alive"/>
</http:conduit>

in a non spring 2.0 manner? I am most interested to express this part
(as the others are quite understandable):

              <sec:trustManagers>
	          <sec:keyStore type="JKS" password="password"
	
file="src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"/>
	      </sec:trustManagers>
	
I have to parameterize file,password and type attributes. I tried to
use PropertyPlaceholderConfigurer but that did not have an effect on
the values of the attributes. Maybe anyone has a better idea? I would
like to try that out as well.

-- 
Thanks,
Alex.