|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wsm.security.policy.scenario.util.WsmSOAPEnvelope
public class WsmSOAPEnvelope
Constructor Summary | |
---|---|
WsmSOAPEnvelope(javax.xml.soap.SOAPEnvelope senv) |
Method Summary | |
---|---|
oracle.security.xmlsec.wss.WSSecurity |
addSecurityHeader(String role, boolean mustUnderstand) |
void |
addSecurityHeader(oracle.security.xmlsec.wss.WSSecurity security) Creates a SOAPEnvelope instance for the given SOAP-ENV:Envelope element. |
void |
addWsuIdtoBody(String id) |
Element |
getBody() |
List |
getHeaderElements(String role) Get all the Header entries in the Header element for the given role/actor. |
Document |
getOwnerDocument() |
oracle.security.xmlsec.wss.WSSecurity |
getSecurityHeader(String role, boolean mustUnderstand) |
List |
getSecurityHeaders(String role, boolean mu) Returns all the Security headers in this SOAPEnvelope with no specified actor attribute and mustUnderstand attribute set to false. |
oracle.security.xmlsec.wss.soap.WSSOAPEnvelope |
getSOAP11Envelope() |
oracle.security.xmlsec.wss.soap.WSSOAP12Envelope |
getSOAP12Envelope() |
boolean |
isSOAPVersion11() |
boolean |
isSOAPVersion12() |
void |
printClassNames() |
void |
removeSecurityHeader(oracle.security.xmlsec.wss.WSSecurity security) Remove the given WSSecurity header from this SOAPEnvelope. |
void |
setSOAP11Envelope(Element element) Creates a SOAPEnvelope 1.1 instance for the given SOAP-ENV:Envelope element. |
void |
setSOAP12Envelope(Element element) Creates a SOAPEnvelope 1.2 instance for the given SOAP-ENV:Envelope element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsmSOAPEnvelope(javax.xml.soap.SOAPEnvelope senv)
Method Detail |
---|
public void setSOAP11Envelope(Element element)
element
- A SOAP Envelope element.public void setSOAP12Envelope(Element element)
element
- A SOAP Envelope element.public oracle.security.xmlsec.wss.soap.WSSOAPEnvelope getSOAP11Envelope()
public oracle.security.xmlsec.wss.soap.WSSOAP12Envelope getSOAP12Envelope()
public Document getOwnerDocument()
public void addSecurityHeader(oracle.security.xmlsec.wss.WSSecurity security)
element
- A SOAP Envelope element.public List getSecurityHeaders(String role, boolean mu)
Security
headers in this SOAPEnvelope with no specified actor attribute and mustUnderstand attribute set to false.List
of WSSecurity
objects present.public List getHeaderElements(String role)
role
- A URI string specifying the role/actor of the header entries. If null
, all header entries will be returned.List
of org.w3c.dom.Element
s for all the header entries in this SOAP Envelope with the specified role attribute value.public void removeSecurityHeader(oracle.security.xmlsec.wss.WSSecurity security)
security
- The security header element to remove.public Element getBody()
public boolean isSOAPVersion11()
public boolean isSOAPVersion12()
public oracle.security.xmlsec.wss.WSSecurity getSecurityHeader(String role, boolean mustUnderstand) throws SecurityException
SecurityException
public oracle.security.xmlsec.wss.WSSecurity addSecurityHeader(String role, boolean mustUnderstand)
public void addWsuIdtoBody(String id)
public void printClassNames()
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |