org.globus.ogsa.impl.security.authentication
Class WSSecuritySOAPEnvelopeBuilder

java.lang.Object
  extended byorg.globus.ogsa.impl.security.authentication.WSSecuritySOAPEnvelopeBuilder
Direct Known Subclasses:
GssEncryptedSOAPEnvelopeBuilder, GssSignedSOAPEnvelopeBuilder, X509WSSignedSOAPEnvelopeBuilder

public abstract class WSSecuritySOAPEnvelopeBuilder
extends java.lang.Object


Field Summary
protected  java.lang.String actor
           
protected  java.lang.String baseURI
           
protected  javax.xml.rpc.handler.MessageContext msgContext
           
 
Constructor Summary
WSSecuritySOAPEnvelopeBuilder()
           
WSSecuritySOAPEnvelopeBuilder(javax.xml.rpc.handler.MessageContext msgContext)
           
 
Method Summary
protected  java.lang.String addBodyID(org.w3c.dom.Document doc)
           
protected  javax.xml.soap.SOAPHeaderElement addSecurityHeader(javax.xml.soap.SOAPEnvelope env)
           
 javax.xml.soap.SOAPEnvelope build(javax.xml.soap.SOAPEnvelope envelope)
           
abstract  javax.xml.soap.SOAPMessage buildMessage(javax.xml.soap.SOAPEnvelope envelope)
           
 java.lang.String getActor()
           
protected  org.w3c.dom.Document getAsDocument(javax.xml.soap.SOAPEnvelope env)
           
 java.lang.String getBaseURI()
           
protected  void insertIntoSecurityHeader(org.w3c.dom.Document doc, org.w3c.dom.Element elem)
           
 void setActor(java.lang.String actor)
           
protected  javax.xml.soap.SOAPMessage toSOAPMessage(org.w3c.dom.Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msgContext

protected javax.xml.rpc.handler.MessageContext msgContext

actor

protected java.lang.String actor

baseURI

protected java.lang.String baseURI
Constructor Detail

WSSecuritySOAPEnvelopeBuilder

public WSSecuritySOAPEnvelopeBuilder()

WSSecuritySOAPEnvelopeBuilder

public WSSecuritySOAPEnvelopeBuilder(javax.xml.rpc.handler.MessageContext msgContext)
Method Detail

build

public javax.xml.soap.SOAPEnvelope build(javax.xml.soap.SOAPEnvelope envelope)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

buildMessage

public abstract javax.xml.soap.SOAPMessage buildMessage(javax.xml.soap.SOAPEnvelope envelope)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getActor

public java.lang.String getActor()

getBaseURI

public java.lang.String getBaseURI()

setActor

public void setActor(java.lang.String actor)

addSecurityHeader

protected javax.xml.soap.SOAPHeaderElement addSecurityHeader(javax.xml.soap.SOAPEnvelope env)
                                                      throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

addBodyID

protected java.lang.String addBodyID(org.w3c.dom.Document doc)
                              throws java.lang.Exception
Throws:
java.lang.Exception

insertIntoSecurityHeader

protected void insertIntoSecurityHeader(org.w3c.dom.Document doc,
                                        org.w3c.dom.Element elem)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getAsDocument

protected org.w3c.dom.Document getAsDocument(javax.xml.soap.SOAPEnvelope env)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

toSOAPMessage

protected javax.xml.soap.SOAPMessage toSOAPMessage(org.w3c.dom.Document doc)
                                            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.