public class SecurityAnnotator extends Object
ProcessingContext| Constructor and Description |
|---|
SecurityAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
handleFault(ProcessingContext context) |
static void |
secureMessage(ProcessingContext context)
Secure an Outbound SOAP Message.
|
static FilterProcessingContext |
setFilterProcessingContext(ProcessingContext context) |
public static void secureMessage(ProcessingContext context) throws XWSSecurityException
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:
context - an instance of com.sun.xml.wss.ProcessingContextXWSSecurityException - if there was an error in securing the Outbound SOAPMessagepublic static void handleFault(ProcessingContext context)
public static FilterProcessingContext setFilterProcessingContext(ProcessingContext context) throws XWSSecurityException
XWSSecurityExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.