org.apache.ws.sandbox.security.trust.message.token
Class ValidateRequestSecurityToken

java.lang.Object
  extended byorg.apache.ws.sandbox.security.trust.message.token.AbstractToken
      extended byorg.apache.ws.sandbox.security.trust.message.token.CompositeElement
          extended byorg.apache.ws.sandbox.security.trust.message.token.RequestSecurityToken
              extended byorg.apache.ws.sandbox.security.trust.message.token.ValidateRequestSecurityToken

public class ValidateRequestSecurityToken
extends RequestSecurityToken

/** This is the class to be used to enerate a RequestSecurityToken for the RST validation binding Even though the ES-Trust spec does not directly specify any specific child elements for this RST element, this can be used to extend the fuctionality

Author:
Ruchith Fernando (ruchith.fernando@gmail.com)
See Also:
TrustConstants.RENEW_SECURITY_TOKEN

Field Summary
 
Fields inherited from class org.apache.ws.sandbox.security.trust.message.token.RequestSecurityToken
requestTypeElement, TOKEN, tokenTypeElement
 
Fields inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken
document, element
 
Constructor Summary
ValidateRequestSecurityToken(org.w3c.dom.Document doc)
           
ValidateRequestSecurityToken(org.w3c.dom.Element elem)
           
 
Method Summary
protected  void handleSpecificChildren(org.w3c.dom.Element elem)
          This is used to handle the specific child elements for the four types of requests Issue @see TrustConstants#ISSUE_SECURITY_TOKEN Renew @see TrustConstants#RENEW_SECURITY_TOKEN Cancel @see TrustConstants#CANCEL_SECURITY_TOKEN Validate @see TrustConstants#VALIDATE_SECURITY_TOKEN
 
Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.RequestSecurityToken
addAttribute, addToken, deserializeChildElement, getAttributeValue, getElement, getRequesType, getToken, getTokensByTagNameNS, getTokenType, setContextAttr, setRequestType, setTokenType
 
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, parse, removeChild, setElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidateRequestSecurityToken

public ValidateRequestSecurityToken(org.w3c.dom.Document doc)
Parameters:
doc -

ValidateRequestSecurityToken

public ValidateRequestSecurityToken(org.w3c.dom.Element elem)
                             throws WSTrustException
Parameters:
elem -
Throws:
WSSecurityException
WSTrustException
Method Detail

handleSpecificChildren

protected void handleSpecificChildren(org.w3c.dom.Element elem)
                               throws WSTrustException
Description copied from class: RequestSecurityToken
This is used to handle the specific child elements for the four types of requests

Specified by:
handleSpecificChildren in class RequestSecurityToken
Parameters:
elem -
Throws:
WSTrustException


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