org.apache.ws.sandbox.security.trust.message.token
Class RequestedSecurityToken

java.lang.Object
  extended byorg.apache.ws.sandbox.security.trust.message.token.RequestedSecurityToken

public class RequestedSecurityToken
extends java.lang.Object


Field Summary
static javax.xml.namespace.QName TOKEN
           
 
Constructor Summary
RequestedSecurityToken(org.w3c.dom.Document doc)
          Constructor
RequestedSecurityToken(org.w3c.dom.Document doc, boolean generateChildren)
          Constructor
RequestedSecurityToken(org.w3c.dom.Element elem)
          To create a RequestSecurityTokenResponse token form an element passed
RequestedSecurityToken(org.w3c.dom.Element elem, boolean parseChildElements)
          May not be usefull in future developments.
 
Method Summary
 void addToken(org.w3c.dom.Element childToken)
           
 org.w3c.dom.Element getElement()
           
 SecurityContextToken getSct()
           
 void setElement(org.w3c.dom.Element element)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOKEN

public static final javax.xml.namespace.QName TOKEN
Constructor Detail

RequestedSecurityToken

public RequestedSecurityToken(org.w3c.dom.Document doc)
                       throws java.lang.Exception
Constructor

Parameters:
doc -

RequestedSecurityToken

public RequestedSecurityToken(org.w3c.dom.Document doc,
                              boolean generateChildren)
                       throws java.lang.Exception
Constructor

Parameters:
doc -

RequestedSecurityToken

public RequestedSecurityToken(org.w3c.dom.Element elem)
                       throws WSSecurityException
To create a RequestSecurityTokenResponse token form an element passed

Parameters:
elem -
Throws:
WSSecurityException

RequestedSecurityToken

public RequestedSecurityToken(org.w3c.dom.Element elem,
                              boolean parseChildElements)
                       throws WSSecurityException
May not be usefull in future developments. Always try to use parseChildElements as false

Parameters:
elem -
parseChildElements -
Throws:
WSSecurityException
Method Detail

toString

public java.lang.String toString()

getElement

public org.w3c.dom.Element getElement()
Returns:

setElement

public void setElement(org.w3c.dom.Element element)

addToken

public void addToken(org.w3c.dom.Element childToken)

getSct

public SecurityContextToken getSct()
Returns:


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.