File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

WSS4j UserToken action handler for many users

Alok Bhandari

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">
<handler type="java" >
<parameter name="action" value="UsernameToken"/>
<parameter name="user" value="werner"/>
<parameter name="passwordType" value="PasswordText" />
<parameter name="passwordCallbackClass"

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:
subject: WSS4j UserToken action handler for many users
Similar Threads
Handler executed on name Matching.......
Can you develop a Stubs class from local WSDD
IOException: Keystore was tampered with, or password was incorrect
WS-Security :How to send a SOAP message back to client on authentication error
problem in configure wss4j in axis 1.4 with JBoss application server