com.sun.xml.wss.impl.misc
Class XWSSProcessor2_0Impl
java.lang.Object
com.sun.xml.wss.impl.misc.XWSSProcessor2_0Impl
- All Implemented Interfaces:
- XWSSProcessor
public class XWSSProcessor2_0Impl
- extends Object
- implements XWSSProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XWSSProcessor2_0Impl
protected XWSSProcessor2_0Impl(InputStream securityConfig,
CallbackHandler handler)
throws XWSSecurityException
- Throws:
XWSSecurityException
XWSSProcessor2_0Impl
protected XWSSProcessor2_0Impl(InputStream securityConfig)
throws XWSSecurityException
- Throws:
XWSSecurityException
secureOutboundMessage
public SOAPMessage secureOutboundMessage(ProcessingContext context)
throws XWSSecurityException
- Description copied from interface:
XWSSProcessor
- Adds Security to an outbound
SOAPMessage according to
the Security Policy inferred from the SecurityConfiguration
with which this XWSSProcessor was initialized.
- Specified by:
secureOutboundMessage in interface XWSSProcessor
- Parameters:
context - the SOAP ProcessingContext containing
the outgoing SOAPMessage to be secured
- Returns:
- the resultant Secure
SOAPMessage
- Throws:
XWSSecurityException - if there was an error in securing
the message.
verifyInboundMessage
public SOAPMessage verifyInboundMessage(ProcessingContext context)
throws XWSSecurityException
- Description copied from interface:
XWSSProcessor
- Verifies Security in an inbound
SOAPMessage according to
the Security Policy inferred from the SecurityConfiguration
with which this XWSSProcessor was initialized.
- Specified by:
verifyInboundMessage in interface XWSSProcessor
- Parameters:
context - the SOAP ProcessingContext containing the
outgoing SOAPMessage to be secured
- Returns:
- the resultant
SOAPMessage after successful
verification of security in the message
- Throws:
XWSSecurityException - if there was an unexpected error
while verifying the message.OR if the security in the incoming
message violates the Security policy that was applied to the message.
createProcessingContext
public ProcessingContext createProcessingContext(SOAPMessage msg)
throws XWSSecurityException
- Description copied from interface:
XWSSProcessor
- Create a Processing Context initialized with the given SOAPMessage
- Specified by:
createProcessingContext in interface XWSSProcessor
- Parameters:
msg - the SOAPMessage with which to initialize the ProcessingContext
- Returns:
- A ProcessingContext instance.
- Throws:
XWSSecurityException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.