Hi Manoj
I could successfuly secure a non-secure service using the ESB rampart config on the policy definition (i.e. ESB decrypts a client encrypted message before passing to a non-secure service).
Now I want to extend on this so that ESB will re-apply a different level of security (i.e. re-encrypt the message leaving the ESB to a secure service using another key on the ESB keystore).
What is the proper way to do this?
This is trivial, see
http://synapse.apache.org/Synapse_Samples.html#Sample100
Just use one policy for messages coming into the proxy, and use one [or
more] other policies for your endpoint[s]
cheers
asankha
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com