File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Identify Client : WSS4J with multiple clients

 
Dhanda Ka
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the scenario,

Service expose 2 methods to 2 clients, each client is mapped to one method only, it shouldn't access other method. Each client has different keys.

Now, Server is able accept requests from both clients without issue, while responding server is able to encrypt with public key of any one of client key as configured in responseFlow,
<parameter name="user" value="client1alias" />. How to configure for other client?

I can set the username in MessageContext inside CallbackHandler implementation to make this work, but don't know how to identity client key alias name.

Please help.

PS: Using WSS4J 1.5.2


 
Arshad Noor
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you considered asking the developers of WSS4J on their User list? They are likely to give you the most definitive answer.

users@ws.apache.org

Arshad Noor
StrongAuth, Inc.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic