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()voidMethods 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
- Specified by:
getTokenin interfaceRequestedSecurityToken
-
setToken
- Specified by:
setTokenin interfaceRequestedSecurityToken
-