org.apache.ws.sandbox.security.trust.message.token
Class RequestedSecurityToken
java.lang.Object
org.apache.ws.sandbox.security.trust.message.token.RequestedSecurityToken
- public class RequestedSecurityToken
- extends java.lang.Object
Field Summary |
static javax.xml.namespace.QName |
TOKEN
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TOKEN
public static final javax.xml.namespace.QName TOKEN
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
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.