|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.security.util.Axis2Util
Utility class for the Axis2-WSS4J Module
| Constructor Summary | |
Axis2Util()
|
|
| Method Summary | |
static org.w3c.dom.Document |
getDocumentFromSOAPEnvelope(SOAPEnvelope env)
Create a DOM Document using the SOAP Envelope |
static java.lang.String |
getKey(java.lang.String originalKey,
boolean inHandler,
int repetition)
This is used to provide the appropriate key to pickup config params from the message context. |
static SOAPEnvelope |
getSOAPEnvelopeFromDocument(org.w3c.dom.Document doc,
org.apache.ws.security.SOAPConstants constants,
SOAPEnvelope reqEnv)
This is to be used only in the signature situation where the security header can be inserted into the original SOAPEnvelope rather than replacing the whole envelope |
static SOAPEnvelope |
getSOAPEnvelopeFromDocument(org.w3c.dom.Document doc,
java.lang.String envelopeNS)
Covert a DOM Document containing a SOAP Envelope in to a org.apache.axis2.soap.SOAPEnvelope |
static org.w3c.dom.Element |
toDOM(OMElement element)
Convert a given OMElement to a DOM Element |
static OMElement |
toOM(org.w3c.dom.Element element)
Convert a given DOM Element to an OMElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Axis2Util()
| Method Detail |
public static org.w3c.dom.Document getDocumentFromSOAPEnvelope(SOAPEnvelope env)
throws org.apache.ws.security.WSSecurityException
env - An org.apache.axis2.soap.SOAPEnvelope instance
java.lang.Exception
org.apache.ws.security.WSSecurityException
public static SOAPEnvelope getSOAPEnvelopeFromDocument(org.w3c.dom.Document doc,
java.lang.String envelopeNS)
throws org.apache.ws.security.WSSecurityException
doc - DOM DocumentenvelopeNS - SOAP Namespace of the the given Envelope
java.lang.Exception
org.apache.ws.security.WSSecurityException
public static SOAPEnvelope getSOAPEnvelopeFromDocument(org.w3c.dom.Document doc,
org.apache.ws.security.SOAPConstants constants,
SOAPEnvelope reqEnv)
throws org.apache.ws.security.WSSecurityException
doc - reqEnv -
org.apache.ws.security.WSSecurityException
public static java.lang.String getKey(java.lang.String originalKey,
boolean inHandler,
int repetition)
originalKey - The default keyinHandler - Whether the handler is the inflow handler or notrepetition - The current repetition number
public static OMElement toOM(org.w3c.dom.Element element)
throws TrustException
element -
TrustException
public static org.w3c.dom.Element toDOM(OMElement element)
throws TrustException
element -
TrustException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||