Package org.apache.wss4j.stax.setup
Class OutboundWSSec
- java.lang.Object
-
- org.apache.wss4j.stax.setup.OutboundWSSec
-
public class OutboundWSSec extends Object
Outbound Streaming-WebService-Security An instance of this class can be retrieved over the WSSec class
-
-
Constructor Summary
Constructors Constructor Description OutboundWSSec(WSSSecurityProperties securityProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLStreamWriter
processOutMessage(OutputStream outputStream, String encoding, List<org.apache.xml.security.stax.securityEvent.SecurityEvent> requestSecurityEvents)
This method is the entry point for the incoming security-engine.XMLStreamWriter
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.XMLStreamWriter
processOutMessage(Object output, String encoding, org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext)
XMLStreamWriter
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.XMLStreamWriter
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.XMLStreamWriter
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 Detail
-
OutboundWSSec
public OutboundWSSec(WSSSecurityProperties securityProperties)
-
-
Method Detail
-
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
-
-