aspose file tools*
The moose likes Web Services and the fly likes WSS4j UserToken action handler for many users Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSS4j UserToken action handler for many users" Watch "WSS4j UserToken action handler for many users" New topic
Author

WSS4j UserToken action handler for many users

Alok Bhandari
Greenhorn

Joined: Jun 11, 2008
Posts: 15
Hello ,
In deploy.wsdd of ws-client we specify the handler something like

<!-- define the service, use the WSDoAllSender security handler in request flow -->
<service name="Ping1">
<requestFlow>
<handler type="java rg.apache.ws.axis.security.WSDoAllSender" >
<parameter name="action" value="UsernameToken"/>
<parameter name="user" value="werner"/>
<parameter name="passwordType" value="PasswordText" />
<parameter name="passwordCallbackClass"
value="org.apache.ws.axis.oasis.PWCallback1"/>
</handler>
</requestFlow>
</service>

but in this we specify only a single user as "<parameter name="user" value="werner"/>"so does it means that there should be single client for a service and if not(which is obvious) then how to make this client work for different users.
Also how to make userToken,Signature and Encryptions work together
Plesae reply ASAP.Thanks


SCJP 1.6(98%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSS4j UserToken action handler for many users