Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WSS4j UserToken action handler for many users  RSS feed

Posts: 15
  • 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">
<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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!