Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSS4j UserToken action handler for many users

 
Alok Bhandari
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic