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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 rg.apache.ws.axis.security.WSDoAllSender" >
<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%)
It is sorta covered in the JavaRanch Style Guide.
subject: WSS4j UserToken action handler for many users
Similar Threads
IOException: Keystore was tampered with, or password was incorrect
Can you develop a Stubs class from local WSDD
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
Handler executed on name Matching.......