org.apache.ws.sandbox.security.trust2
Class RequestSecurityToken

java.lang.Object
  extended byorg.apache.ws.sandbox.security.trust2.SecurityTokenMessage
      extended byorg.apache.ws.sandbox.security.trust2.RequestSecurityToken

public class RequestSecurityToken
extends SecurityTokenMessage


Field Summary
protected  SecurityTokenOrReference base
           
protected  java.net.URI requestType
           
protected  java.util.List supporting
           
 
Fields inherited from class org.apache.ws.sandbox.security.trust2.SecurityTokenMessage
context, customElements, doc, element, encryption, keySize, keyType, lifetime, proofEncryption, signatureAlgorithm, tokenType
 
Constructor Summary
RequestSecurityToken(org.w3c.dom.Document doc, java.net.URI requestType)
           
RequestSecurityToken(org.w3c.dom.Element element)
          Constructs a RequestSecurityToken object from an existing element.
RequestSecurityToken(org.w3c.dom.Element element, org.w3c.dom.Document document)
           
 
Method Summary
 void addSupporting(SecurityTokenOrReference supportingToken)
           
 SecurityTokenOrReference getBase()
           
 org.w3c.dom.Element getElement()
           
 java.net.URI getRequestType()
           
 java.util.List getSupporting()
           
 void setBase(SecurityTokenOrReference base)
           
 void setRequestType(java.net.URI requestType)
           
 
Methods inherited from class org.apache.ws.sandbox.security.trust2.SecurityTokenMessage
addCustomElement, addCustomElement, addCustomElementNS, createTokenOrReferenceElement, getContext, getCustomElement, getCustomElements, getDocument, getElement, getFirstNonBlankChildAsElement, getLifetime, getTextContent, getTokenType, setContext, setDocument, setLifetime, setTextContent, setTokenType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

requestType

protected java.net.URI requestType

base

protected SecurityTokenOrReference base

supporting

protected java.util.List supporting
Constructor Detail

RequestSecurityToken

public RequestSecurityToken(org.w3c.dom.Document doc,
                            java.net.URI requestType)

RequestSecurityToken

public RequestSecurityToken(org.w3c.dom.Element element)
                     throws ElementParsingException
Constructs a RequestSecurityToken object from an existing element.

Parameters:
element -

RequestSecurityToken

public RequestSecurityToken(org.w3c.dom.Element element,
                            org.w3c.dom.Document document)
                     throws ElementParsingException
Method Detail

setRequestType

public void setRequestType(java.net.URI requestType)

getRequestType

public java.net.URI getRequestType()

setBase

public void setBase(SecurityTokenOrReference base)

getBase

public SecurityTokenOrReference getBase()

addSupporting

public void addSupporting(SecurityTokenOrReference supportingToken)

getSupporting

public java.util.List getSupporting()

getElement

public org.w3c.dom.Element getElement()
                               throws TrustException
Specified by:
getElement in class SecurityTokenMessage
Throws:
TrustException


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