This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes UsernameToken in cxf Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "UsernameToken in cxf" Watch "UsernameToken in cxf" New topic
Author

UsernameToken in cxf

siraj baig
Ranch Hand

Joined: Jul 11, 2006
Posts: 42
Hi,
I am using apachi cxf to implement web services.
I would like to know how the userid and password values enter by user
will set to " UsernameToken "
Please let me know the flow or please provide me a brief documentation

[ code ]

<bean id="saajInInterceptor" class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" abstract="true"/>
<bean id="wss4jInInterceptor" class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor" abstract="true">
<constructor-arg>
<map>
<entry key="action" value="UsernameToken"/>
<entry key="passwordType" value="PasswordText"/>
<entry key="passwordCallbackClass" value="com.bipt.tiva.ws.ServerPasswordCallback"/>
</map>
</constructor-arg>
</bean>

[/ code ]

Thanks
siraj.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: UsernameToken in cxf
 
Similar Threads
problens in spring CustomDataEditor!
Spring security multiple login pages
javax.xml.ws.WebServiceException: java.lang.RuntimeException: Incorrect inclusion value: null
Loading Resources in XMl using Spring
Access hibernate session inside onMessage using ActiveMQ