xsul.dsig.globus.security.authentication.wssec
Class WSSecurityUtil

java.lang.Object
  extended byxsul.dsig.globus.security.authentication.wssec.WSSecurityUtil

public class WSSecurityUtil
extends java.lang.Object


Constructor Summary
WSSecurityUtil()
           
 
Method Summary
static org.w3c.dom.Element findFirstBodyElement(org.w3c.dom.Document doc)
           
static org.w3c.dom.Node getDirectChild(org.w3c.dom.Node fNode, java.lang.String localName, java.lang.String namespace)
           
static SOAPHeaderElement getSecurityHeader(SOAPEnvelope env, java.lang.String actor)
          Returns first WS-Security header for a given actor.
static java.lang.String setNamespace(org.w3c.dom.Element element, java.lang.String namespace, java.lang.String prefix)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSSecurityUtil

public WSSecurityUtil()
Method Detail

getSecurityHeader

public static SOAPHeaderElement getSecurityHeader(SOAPEnvelope env,
                                                  java.lang.String actor)
                                           throws SOAPException
Returns first WS-Security header for a given actor. Only one WS-Security header is allowed for an actor.

Throws:
SOAPException

getDirectChild

public static org.w3c.dom.Node getDirectChild(org.w3c.dom.Node fNode,
                                              java.lang.String localName,
                                              java.lang.String namespace)

findFirstBodyElement

public static org.w3c.dom.Element findFirstBodyElement(org.w3c.dom.Document doc)

setNamespace

public static java.lang.String setNamespace(org.w3c.dom.Element element,
                                            java.lang.String namespace,
                                            java.lang.String prefix)


IU Extreme! Lab (http://www.extreme.indiana.edu)