|
|||||||||||
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 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(String requestType)
|
Method Summary | |
void |
addAttribute(String attribute,
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 |
String |
getAttributeValue(QName attribute)
This is to be used to retrieve the value of the custom attrbutes added to the wst:RequestSecyrityToken |
String |
getContextAttrValue()
|
OMElement |
getRequestElement()
|
String |
getRequestType()
Returns the request type if it is set |
protected QName |
getToken()
|
OMElement |
getToken(QName tokenQName)
Returns the requested token if available |
String |
getTokenType()
Returns the token type is set |
protected abstract void |
handleSpecificChildren(OMElement element)
|
void |
setContextAttr(String contextAttrValue)
/wst:RequestSecurityToken/@Context This URI specifies an identifier/context for this request. |
void |
setRequestType(String requestType)
Sets the wst:RequestType value of this wst:RequestSecurityToken |
void |
setTokenType(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 QName TOKEN
Constructor Detail |
public RequestSecurityToken(String requestType)
public RequestSecurityToken(OMElement elem) throws TrustException
elem
-
TrustException
Method Detail |
protected QName getToken()
getToken
in class AbstractToken
public void setRequestType(String requestType)
wst:RequestType
value of this wst:RequestSecurityToken
requestType
- The wst:RequestType
uri as a String
public String getRequestType()
public void setTokenType(String tokenType)
wst:TokenType
value of this wst:RequestSecurityToken
tokenType
- The wst:TokenType
uri as a String
public String getTokenType()
protected void deserializeChildElement(OMElement element) throws TrustException
AbstractToken
OMNode.ELEMENT_NODE
of this token
deserializeChildElement
in class AbstractToken
element
-
TrustException
public void addToken(OMElement childToken)
wst:RequestSecyrityToken
element
childToken
- public OMElement getToken(QName tokenQName)
tokenQName
-
public void setContextAttr(String contextAttrValue)
contextAttrValue
- public String getContextAttrValue()
public void addAttribute(String attribute, String value, OMNamespace namespace)
wst:RequestSecyrityToken
element
attribute
- Name of the attrvalue
- Attr valuenamespace
- Attr namespacepublic String getAttributeValue(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 |