|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XWSSProcessor
XWSSProcessor interface defines methods for
SOAPMessage
SOAPMessage
XWSSProcessor can add/verify Security in a
SOAPMessage as defined by the OASIS WSS 1.0 specification.
| Method Summary | |
|---|---|
ProcessingContext |
createProcessingContext(SOAPMessage msg)
Create a Processing Context initialized with the given SOAPMessage |
SOAPMessage |
secureOutboundMessage(ProcessingContext messageCntxt)
Adds Security to an outbound SOAPMessage according to
the Security Policy inferred from the SecurityConfiguration
with which this XWSSProcessor was initialized. |
SOAPMessage |
verifyInboundMessage(ProcessingContext messageCntxt)
Verifies Security in an inbound SOAPMessage according to
the Security Policy inferred from the SecurityConfiguration
with which this XWSSProcessor was initialized. |
| Method Detail |
|---|
SOAPMessage secureOutboundMessage(ProcessingContext messageCntxt)
throws XWSSecurityException
SOAPMessage according to
the Security Policy inferred from the SecurityConfiguration
with which this XWSSProcessor was initialized.
messageCntxt - the SOAP ProcessingContext containing
the outgoing SOAPMessage to be secured
SOAPMessage
XWSSecurityException - if there was an error in securing
the message.
SOAPMessage verifyInboundMessage(ProcessingContext messageCntxt)
throws XWSSecurityException
SOAPMessage according to
the Security Policy inferred from the SecurityConfiguration
with which this XWSSProcessor was initialized.
messageCntxt - the SOAP ProcessingContext containing the
outgoing SOAPMessage to be secured
SOAPMessage after successful
verification of security in the message
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.
WssSoapFaultException - when security in the incoming message
is in direct violation of the OASIS WSS specification.
When a WssSoapFaultException is thrown the getFaultCode() method on it
will return a QName which would correspond to the
WSS defined fault.
ProcessingContext createProcessingContext(SOAPMessage msg)
throws XWSSecurityException
msg - the SOAPMessage with which to initialize the ProcessingContext
XWSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||