PWCallback class on server
Hi everyone,
I am going through ESB security examples in order to establish secure application level security between client and server. Samples work fine and now I am trying to use my own JKS for signing and encrypting. The problem I encoutered is that I do not really get how PWCallback class should be called on the server side. In the samples provided by ESB, both client and server are using the same store.jks and the same PWCallback class which is stored only in axis2Client and it is not clear how the server locates PWCallback. What if I want to use a different jks on server: where should PWCallback_server.class be stored in order for server to locate it? Could you spread some light on this proces?
Thanks in advance,
Jelena
- Login or register to post comments
- Printer friendly version
- 142 reads











Jelena Basically you would
Jelena
Basically you would make any/all classes required by the ESB server side in the webapp/WEB-INF/lib directory
To make the samples simpler, we have bundled the PWCallback class in the synapse samples jar file, and is shared by both the sample client code and ESB. You are free to use different classes and multiple keystores as required in your environment
asankha
Thanks Asankha, now it's
Thanks Asankha, now it's clear how it works.
Jelena