See yesterday's post to this forum on this subject for an example of multiple actions:

http://tinyurl.com/253phq

For signing, you need to add the Signature action, along with a specification of the key material you need. See the CXF WS-Security system test for an example, e.g.,

http://tinyurl.com/2qv3ks

On Aug 29, 2007, at 9:09 PM, dmadunic wrote:


Hi all,
anoyne knows how can i configure multiple actions for WSS4JIn and Out
Interceptors?
For example signanin and UsernameToken
So far i have follwing lines in my applicationContext.xml:

<jaxws:endpoint id="helloWorld" implementor="demo.spring.HelloWorldImpl"
address="/HelloWorld" >
        <jaxws:inInterceptors>
                <bean 
class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/>
                <bean 
class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
                        <property name="properties">
                                <map>
                                        <entry key="action" 
value="UsernameToken"/>
                                        <entry key="passwordType" 
value="PasswordDigest"/>
                                        <entry key="passwordCallbackClass"
value="demo.interceptors.AuthenticationCallbackHandler"/>
                                </map>
                        </property>
                </bean>
                <bean class="demo.interceptors.SecurityTokenAnalyser"/>
        </jaxws:inInterceptors>

And i would also like to add signing action to WSS4JInInterceptor, any
suggestion how to doit?

thx
--
View this message in context: http://www.nabble.com/ WSS4JInInterceptor-configuration-tf4351388.html#a12398844
Sent from the cxf-user mailing list archive at Nabble.com.



Reply via email to