Accessing SOAP message from within the SecurityEnvironmentHandler

R

rbuitragoc

Hello all

I need to encrypt SOAP messages. I am using JWSDP 1.5. xws-security.
The alias is specified in the xml config file, but once the .war is
generated with the "wscompile -security .." tool it cannot be modified
in runtime (as far as I know..)

I need to encrypt the SOAP message with different public keys, for the
SOAP message may be for a different recipient in a dynamic way.

I think that the only way to do that is to access the SOAP message when
in the method handle() in the SecurityEnvironmentHandler in order to
get a field with the value for the proper alias.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top