org.apache.ws.sandbox.security.trust.message.token
Class ValidateRequestSecurityToken
java.lang.Object
org.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.RequestSecurityToken
org.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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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
- Issue
@see TrustConstants#ISSUE_SECURITY_TOKEN
- Renew
@see TrustConstants#RENEW_SECURITY_TOKEN
- Cancel
@see TrustConstants#CANCEL_SECURITY_TOKEN
- Validate
@see TrustConstants#VALIDATE_SECURITY_TOKEN
- Specified by:
handleSpecificChildren
in class RequestSecurityToken
- Parameters:
elem
-
- Throws:
WSTrustException
Copyright © 2004-2008 Apache Web Services. All Rights Reserved.