org.apache.ws.sandbox.security.trust2
Class RequestSecurityTokenResponse
java.lang.Object
org.apache.ws.sandbox.security.trust2.SecurityTokenMessage
org.apache.ws.sandbox.security.trust2.RequestSecurityTokenResponse
- public class RequestSecurityTokenResponse
- extends SecurityTokenMessage
- Author:
- ddelvecc
Represents the WS-Trust message which includes the requested token.
Fields inherited from class org.apache.ws.sandbox.security.trust2.SecurityTokenMessage |
context, customElements, doc, element, encryption, keySize, keyType, lifetime, proofEncryption, signatureAlgorithm, tokenType |
Methods inherited from class org.apache.ws.sandbox.security.trust2.SecurityTokenMessage |
addCustomElement, addCustomElement, addCustomElementNS, createTokenOrReferenceElement, getContext, getCustomElement, getCustomElements, getDocument, getElement, getFirstNonBlankChildAsElement, getLifetime, getTextContent, getTokenType, setContext, setDocument, setLifetime, setTextContent, setTokenType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
requestedSecurityToken
protected SecurityTokenOrReference requestedSecurityToken
requestedProofToken
protected SecurityTokenOrReference requestedProofToken
RequestSecurityTokenResponse
public RequestSecurityTokenResponse(org.w3c.dom.Document doc)
RequestSecurityTokenResponse
public RequestSecurityTokenResponse(org.w3c.dom.Document doc,
SecurityTokenOrReference requestedSecurityToken)
RequestSecurityTokenResponse
public RequestSecurityTokenResponse(org.w3c.dom.Element element)
throws ElementParsingException
- Constructs a RequestSecurityToken object from an existing element.
- Parameters:
element
-
RequestSecurityTokenResponse
public RequestSecurityTokenResponse(org.w3c.dom.Element element,
org.w3c.dom.Document document)
throws ElementParsingException
getRequestedSecurityToken
public SecurityTokenOrReference getRequestedSecurityToken()
setRequestedSecurityToken
public void setRequestedSecurityToken(SecurityTokenOrReference requestedToken)
getRequestedProofToken
public SecurityTokenOrReference getRequestedProofToken()
setRequestedProofToken
public void setRequestedProofToken(SecurityTokenOrReference requestedProofToken)
getElement
public org.w3c.dom.Element getElement()
throws TrustException
- Specified by:
getElement
in class SecurityTokenMessage
- Throws:
TrustException
Copyright © 2004-2008 Apache Web Services. All Rights Reserved.