Package org.apache.wss4j.stax.setup
Class OutboundWSSec
java.lang.Object
org.apache.wss4j.stax.setup.OutboundWSSec
Outbound Streaming-WebService-Security
An instance of this class can be retrieved over the WSSec class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessOutMessage(OutputStream outputStream, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents) This method is the entry point for the incoming security-engine.processOutMessage(OutputStream outputStream, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents, org.apache.xml.security.stax.securityEvent.SecurityEventListener securityEventListener) This method is the entry point for the incoming security-engine.processOutMessage(Object output, String encoding, org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext) processOutMessage(XMLStreamWriter xmlStreamWriter, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents) This method is the entry point for the incoming security-engine.processOutMessage(XMLStreamWriter xmlStreamWriter, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents, org.apache.xml.security.stax.securityEvent.SecurityEventListener securityEventListener) This method is the entry point for the incoming security-engine.processOutMessage(XMLStreamWriter xmlStreamWriter, String encoding, org.apache.xml.security.stax.ext.OutboundSecurityContext outbounSecurityContext) This method is the entry point for the incoming security-engine.
-
Constructor Details
-
OutboundWSSec
-
-
Method Details
-
processOutMessage
public XMLStreamWriter processOutMessage(OutputStream outputStream, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents) throws WSSecurityException This method is the entry point for the incoming security-engine. Hand over a outputStream and use the returned XMLStreamWriter for further processing- Parameters:
outputStream- The original outputStream- Returns:
- A new XMLStreamWriter which does transparently the security processing.
- Throws:
WSSecurityException- thrown when a Security failure occurs
-
processOutMessage
public XMLStreamWriter processOutMessage(XMLStreamWriter xmlStreamWriter, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents) throws WSSecurityException This method is the entry point for the incoming security-engine. Hand over the original XMLStreamWriter and use the returned one for further processing- Parameters:
xmlStreamWriter- The original xmlStreamWriter- Returns:
- A new XMLStreamWriter which does transparently the security processing.
- Throws:
WSSecurityException- thrown when a Security failure occurs
-
processOutMessage
public XMLStreamWriter processOutMessage(OutputStream outputStream, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents, org.apache.xml.security.stax.securityEvent.SecurityEventListener securityEventListener) throws WSSecurityException This method is the entry point for the incoming security-engine. Hand over a outputstream and use the returned XMLStreamWriter for further processing- Parameters:
outputStream- The original outputStream- Returns:
- A new XMLStreamWriter which does transparently the security processing.
- Throws:
WSSecurityException- thrown when a Security failure occurs
-
processOutMessage
public XMLStreamWriter processOutMessage(XMLStreamWriter xmlStreamWriter, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents, org.apache.xml.security.stax.securityEvent.SecurityEventListener securityEventListener) throws WSSecurityException This method is the entry point for the incoming security-engine. Hand over the original XMLStreamWriter and use the returned one for further processing- Parameters:
xmlStreamWriter- The original outputStream- Returns:
- A new XMLStreamWriter which does transparently the security processing.
- Throws:
WSSecurityException- thrown when a Security failure occurs
-
processOutMessage
public XMLStreamWriter processOutMessage(XMLStreamWriter xmlStreamWriter, String encoding, org.apache.xml.security.stax.ext.OutboundSecurityContext outbounSecurityContext) throws WSSecurityException This method is the entry point for the incoming security-engine. Hand over the original XMLStreamWriter and use the returned one for further processing- Parameters:
xmlStreamWriter- The original outputStream- Returns:
- A new XMLStreamWriter which does transparently the security processing.
- Throws:
WSSecurityException- thrown when a Security failure occurs
-
processOutMessage
public XMLStreamWriter processOutMessage(Object output, String encoding, org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext) throws WSSecurityException - Throws:
WSSecurityException
-