|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.ws.sandbox.security.trust.message.token.AbstractToken
org.apache.ws.sandbox.security.trust.message.token.CompositeElement
org.apache.ws.sandbox.security.trust.message.token.RequestSecurityTokenResponse
| Field Summary | |
static javax.xml.namespace.QName |
TOKEN
|
| Fields inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken |
document, element |
| Constructor Summary | |
RequestSecurityTokenResponse(org.w3c.dom.Document doc)
Constructor |
|
RequestSecurityTokenResponse(org.w3c.dom.Document doc,
boolean generateChildren)
Constructor |
|
RequestSecurityTokenResponse(org.w3c.dom.Element elem)
To create a RequestSecurityTokenResponse token form an element passed |
|
RequestSecurityTokenResponse(org.w3c.dom.Element elem,
boolean parseChildElements)
May not be usefull in future developments. |
|
| Method Summary | |
void |
addAttribute(java.lang.String attribute,
java.lang.String value)
This is provided as an extensibility mechnism to as any attrbute |
void |
addToken(org.w3c.dom.Element childToken)
This is provided as an extensibility mechanism to add any child element |
void |
build(org.w3c.dom.Document doc)
TODO: Should be removed |
protected void |
deserializeChildElement(org.w3c.dom.Element elem)
This is called for each of the immediate child elements of type Node.ELEMENT_NODE of this token |
java.lang.String |
getAttributeValue(java.lang.String attribute)
This is to be used to retrieve the value of the custom attrbutes added |
java.lang.String |
getContextAttr()
|
RequestedProofToken |
getRequestedProofToken()
|
RequestedSecurityToken |
getRequestedSecurityToken()
|
protected javax.xml.namespace.QName |
getToken()
Returns the QName of this type |
org.w3c.dom.Element |
getTokenByTagNameNS(java.lang.String namespace,
java.lang.String tagName)
This is provided to be used to extract custom elements |
void |
setContextAttr(java.lang.String context)
|
| Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.CompositeElement |
setElementTextValue |
| Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken |
addChild, getElement, parse, removeChild, setElement, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final javax.xml.namespace.QName TOKEN
| Constructor Detail |
public RequestSecurityTokenResponse(org.w3c.dom.Document doc)
throws java.lang.Exception
doc -
java.lang.Exception
public RequestSecurityTokenResponse(org.w3c.dom.Document doc,
boolean generateChildren)
throws java.lang.Exception
doc -
java.lang.Exception
public RequestSecurityTokenResponse(org.w3c.dom.Element elem)
throws WSTrustException
elem -
WSSecurityException
WSTrustException
public RequestSecurityTokenResponse(org.w3c.dom.Element elem,
boolean parseChildElements)
throws WSTrustException
elem -
WSSecurityException
WSTrustException| Method Detail |
public void setContextAttr(java.lang.String context)
public java.lang.String getContextAttr()
public RequestedProofToken getRequestedProofToken()
public RequestedSecurityToken getRequestedSecurityToken()
public void build(org.w3c.dom.Document doc)
doc - public void addToken(org.w3c.dom.Element childToken)
childToken -
public void addAttribute(java.lang.String attribute,
java.lang.String value)
attribute - value -
public org.w3c.dom.Element getTokenByTagNameNS(java.lang.String namespace,
java.lang.String tagName)
namespace - tagName -
public java.lang.String getAttributeValue(java.lang.String attribute)
attribute -
protected javax.xml.namespace.QName getToken()
getToken in class AbstractTokenAbstractToken.getToken()protected void deserializeChildElement(org.w3c.dom.Element elem)
AbstractTokenNode.ELEMENT_NODE of this token
deserializeChildElement in class AbstractTokenelem - The child element
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||