Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed undocumented sts.token.properties and callback-handler from X.509 case, as unneeded for Symmetric w. X.509 authentication.

...

Code Block
xml
xml
<bean name="{http://cxf.apache.org/}TestEndpoint.sts-client" 
    class="org.apache.cxf.ws.security.trust.STSClient" abstract="true">
    <property name="wsdlLocation" value="WSDL/wsdl/trust.wsdl"/>
    <property name="serviceName" value="{http://cxf.apache.org/securitytokenservice}SecurityTokenService"/>
    <property name="endpointName" value="{http://cxf.apache.org/securitytokenservice}SecurityTokenEndpoint"/>
    <property name="properties">
        <map>
            <entry key="ws-security.sts.tokensignature.properties" value="etc/bobalice.properties"/>  
            <entry key="ws-security.callback-handler" value="interop.client.KeystorePasswordCallback"/>
            <entry key="ws-security.signature.encryption.properties" value="etc/alicebob.properties"/> 	
            <entry key="ws-security.encryption.propertiesusername" value="etc/bob.propertiesstskeyname"/>	
        </map>
    </property>
</bean>

...