org.apache.axis2.security.trust.token
Class CancelRequestSecurityToken

java.lang.Object
  extended byorg.apache.axis2.security.trust.token.AbstractToken
      extended byorg.apache.axis2.security.trust.token.CompositeToken
          extended byorg.apache.axis2.security.trust.token.RequestSecurityToken
              extended byorg.apache.axis2.security.trust.token.CancelRequestSecurityToken

public class CancelRequestSecurityToken
extends RequestSecurityToken


Field Summary
 
Fields inherited from class org.apache.axis2.security.trust.token.RequestSecurityToken
requestTypeElement, TOKEN, tokenTypeElement
 
Fields inherited from class org.apache.axis2.security.trust.token.AbstractToken
factory, tokenElement, wstNamespace
 
Constructor Summary
CancelRequestSecurityToken()
           
CancelRequestSecurityToken(OMElement elem)
           
 
Method Summary
protected  void handleSpecificChildren(OMElement element)
           
 void setCancelTarget(OMElement targetToken)
          Sets the cancel target with the target token
 void setCancelTarget(org.apache.ws.security.message.token.SecurityTokenReference securityTokenReference)
          Sets the cancel target with a security token reference
 
Methods inherited from class org.apache.axis2.security.trust.token.RequestSecurityToken
addAttribute, addToken, deserializeChildElement, getAttributeValue, getContextAttrValue, getRequestElement, getRequestType, getToken, getToken, getTokenType, setContextAttr, setRequestType, setTokenType
 
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
 

Constructor Detail

CancelRequestSecurityToken

public CancelRequestSecurityToken()

CancelRequestSecurityToken

public CancelRequestSecurityToken(OMElement elem)
                           throws TrustException
Parameters:
elem -
Throws:
TrustException
Method Detail

setCancelTarget

public void setCancelTarget(OMElement targetToken)
Sets the cancel target with the target token

Parameters:
targetToken -

setCancelTarget

public void setCancelTarget(org.apache.ws.security.message.token.SecurityTokenReference securityTokenReference)
                     throws TrustException
Sets the cancel target with a security token reference

Parameters:
securityTokenReference -
Throws:
TrustException

handleSpecificChildren

protected void handleSpecificChildren(OMElement element)
                               throws TrustException
Specified by:
handleSpecificChildren in class RequestSecurityToken
Parameters:
element - Specific child element
Throws:
TrustException