| Secure an Outbound SOAP Message.
Calling code should create a com.sun.xml.wss.ProcessingContext object with
runtime properties. Specifically, it should set SecurityPolicy, application
CallbackHandler Or a SecurityEnvironment and static security policy context.
The SecurityPolicy instance can be of the following types:
- A concrete WSSPolicy
- A MessagePolicy
- A DynamicSecurityPolicy
A DynamicSecurityPolicy can inturn resolve to the following:
- A concrete WSSPolicy
- A MessagePolicy
Parameters: context - an instance of com.sun.xml.wss.ProcessingContext throws: com.sun.xml.wss.XWSSecurityException - if there was an error in securing the Outbound SOAPMessage |