|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.security.trust.token.AbstractToken
org.apache.axis2.security.trust.token.CompositeToken
org.apache.axis2.security.trust.token.RequestSecurityToken
| Field Summary | |
protected RequestType |
requestTypeElement
|
static javax.xml.namespace.QName |
TOKEN
|
protected TokenType |
tokenTypeElement
|
| Fields inherited from class org.apache.axis2.security.trust.token.AbstractToken |
factory, tokenElement, wstNamespace |
| Constructor Summary | |
RequestSecurityToken(OMElement elem)
|
|
RequestSecurityToken(java.lang.String requestType)
|
|
| Method Summary | |
void |
addAttribute(java.lang.String attribute,
java.lang.String value,
OMNamespace namespace)
This is provided as an extensibility mechnism to ass any attrbute to the wst:RequestSecyrityToken element |
void |
addToken(OMElement childToken)
This is provided as an extensibility mechanism to add any child element to the wst:RequestSecyrityToken element |
protected void |
deserializeChildElement(OMElement element)
This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token |
java.lang.String |
getAttributeValue(javax.xml.namespace.QName attribute)
This is to be used to retrieve the value of the custom attrbutes added to the wst:RequestSecyrityToken |
java.lang.String |
getContextAttrValue()
|
OMElement |
getRequestElement()
|
java.lang.String |
getRequestType()
Returns the request type if it is set |
protected javax.xml.namespace.QName |
getToken()
|
OMElement |
getToken(javax.xml.namespace.QName tokenQName)
Returns the requested token if available |
java.lang.String |
getTokenType()
Returns the token type is set |
protected abstract void |
handleSpecificChildren(OMElement element)
|
void |
setContextAttr(java.lang.String contextAttrValue)
/wst:RequestSecurityToken/@Context This URI specifies an identifier/context for this request. |
void |
setRequestType(java.lang.String requestType)
Sets the wst:RequestType value of this wst:RequestSecurityToken |
void |
setTokenType(java.lang.String tokenType)
Sets the wst:TokenType value of this wst:RequestSecurityToken |
| Methods inherited from class org.apache.axis2.security.trust.token.CompositeToken |
setElementTextValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected TokenType tokenTypeElement
protected RequestType requestTypeElement
public static final javax.xml.namespace.QName TOKEN
| Constructor Detail |
public RequestSecurityToken(java.lang.String requestType)
public RequestSecurityToken(OMElement elem)
throws TrustException
elem -
TrustException| Method Detail |
protected javax.xml.namespace.QName getToken()
getToken in class AbstractTokenpublic void setRequestType(java.lang.String requestType)
wst:RequestType value of this wst:RequestSecurityToken
requestType - The wst:RequestType uri as a Stringpublic java.lang.String getRequestType()
public void setTokenType(java.lang.String tokenType)
wst:TokenType value of this wst:RequestSecurityToken
tokenType - The wst:TokenType uri as a Stringpublic java.lang.String getTokenType()
protected void deserializeChildElement(OMElement element)
throws TrustException
AbstractTokenOMNode.ELEMENT_NODE of this token
deserializeChildElement in class AbstractTokenelement -
TrustExceptionpublic void addToken(OMElement childToken)
wst:RequestSecyrityToken element
childToken - public OMElement getToken(javax.xml.namespace.QName tokenQName)
public void setContextAttr(java.lang.String contextAttrValue)
contextAttrValue - public java.lang.String getContextAttrValue()
public void addAttribute(java.lang.String attribute,
java.lang.String value,
OMNamespace namespace)
wst:RequestSecyrityToken element
attribute - Name of the attrvalue - Attr valuenamespace - Attr namespacepublic java.lang.String getAttributeValue(javax.xml.namespace.QName attribute)
wst:RequestSecyrityToken
attribute -
public OMElement getRequestElement()
protected abstract void handleSpecificChildren(OMElement element)
throws TrustException
element - Specific child element
TrustException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||