Class RequestedSecurityTokenImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedSecurityTokenType
com.sun.xml.ws.security.trust.impl.wssx.elements.RequestedSecurityTokenImpl
- All Implemented Interfaces:
RequestedSecurityToken
public class RequestedSecurityTokenImpl
extends RequestedSecurityTokenType
implements RequestedSecurityToken
Implementation for the RequestedSecurityToken.
- Author:
- Manveen Kaur
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedSecurityTokenType
any -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestedSecurityTokenTypefromElement(Element element) Constructs aRequestedSecurityTokenelement from an existing XML block.getToken()Returns the Security Token contained in the RequestedSecurityToken element.voidSets the value of the Security Token in the RequestedSecurityToken element.Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedSecurityTokenType
getAny, setAnyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.ws.security.trust.elements.RequestedSecurityToken
getAny, setAny
-
Constructor Details
-
RequestedSecurityTokenImpl
public RequestedSecurityTokenImpl()Empty default constructor. -
RequestedSecurityTokenImpl
-
RequestedSecurityTokenImpl
-
-
Method Details
-
fromElement
Constructs aRequestedSecurityTokenelement from an existing XML block.- Parameters:
element-org.w3c.dom.Elementrepresenting DOM tree forRequestedSecurityTokenobject.- Throws:
WSTrustException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-
getToken
Description copied from interface:RequestedSecurityTokenReturns the Security Token contained in the RequestedSecurityToken element.- Specified by:
getTokenin interfaceRequestedSecurityToken- Returns:
Token
-
setToken
Description copied from interface:RequestedSecurityTokenSets the value of the Security Token in the RequestedSecurityToken element.- Specified by:
setTokenin interfaceRequestedSecurityToken- Parameters:
token-Token
-