Take a look at WS-Security example from XFire distribution.

properties.setProperty(WSHandlerConstants.ACTION,
WSHandlerConstants.ENCRYPT + " "
               + WSHandlerConstants.SIGNATURE);

On 7/16/07, Fabio Retzlaff <[EMAIL PROTECTED]> wrote:
Hello,

I add this prop to my WS-Security:

config.setProperty(WSHandlerConstants.ACTION,
WSHandlerConstants.USERNAME_TOKEN);

But I need to encrypt the message too.
If I put this property will work?

conifg.setProperty(WSHandlerConstants.ACTION,
WSHandlerConstants.ENCRYPT);

How I can do this?


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to