I don't think sec:keyStore supports that syntax. Anyway, I tried the
configuration below and it did not help.

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0";
    xmlns:cxf="http://cxf.apache.org/blueprint/core";
    xmlns:http="http://cxf.apache.org/transports/http/configuration";
    xmlns:sec="http://cxf.apache.org/configuration/security";
    xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws";
    xsi:schemaLocation="
        http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
        http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0
http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd
        http://cxf.apache.org/blueprint/core
http://cxf.apache.org/schemas/blueprint/core.xsd
        http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
        http://cxf.apache.org/configuration/security
http://cxf.apache.org/schemas/configuration/security.xsd
        http://cxf.apache.org/blueprint/jaxws
http://cxf.apache.org/schemas/blueprint/jaxws.xsd";>

    <cm:property-placeholder id="properties"
        persistent-id="com.example.sts.test.system"
        placeholder-prefix="$["
        placeholder-suffix="]">
        <cm:default-properties>
            <cm:property name="tls.trustStoreFile"
value="certs/truststore.jceks" />
            <cm:property name="tls.trustStorePassword" value="password" />
        </cm:default-properties>
    </cm:property-placeholder>


    <http:conduit id="httpConduit" name="https://localhost:(\d)*/sts/.*">
        <http:tlsClientParameters>
          <sec:trustManagers>
            <sec:keyStore type="jceks"
                file="$[tls.trustStoreFile]"
                password="$[tls.trustStorePassword]"
            />
          </sec:trustManagers>
        </http:tlsClientParameters>
    </http:conduit>
</blueprint>



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Blueprint-property-placeholder-does-not-work-with-HTTP-conduit-configuration-tp5740946p5741136.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to