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:
com.sun.xml.ws.security.trust.elements.RequestedSecurityToken
public class RequestedSecurityTokenImpl extends RequestedSecurityTokenType implements com.sun.xml.ws.security.trust.elements.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 Constructor Description RequestedSecurityTokenImpl()Empty default constructor.RequestedSecurityTokenImpl(com.sun.xml.ws.security.Token token)RequestedSecurityTokenImpl(RequestedSecurityTokenType rdstType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestedSecurityTokenTypefromElement(Element element)Constructs aRequestedSecurityTokenelement from an existing XML block.com.sun.xml.ws.security.TokengetToken()voidsetToken(com.sun.xml.ws.security.Token token)-
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedSecurityTokenType
getAny, setAny
-
-
-
-
Constructor Detail
-
RequestedSecurityTokenImpl
public RequestedSecurityTokenImpl()
Empty default constructor.
-
RequestedSecurityTokenImpl
public RequestedSecurityTokenImpl(RequestedSecurityTokenType rdstType)
-
RequestedSecurityTokenImpl
public RequestedSecurityTokenImpl(com.sun.xml.ws.security.Token token)
-
-
Method Detail
-
fromElement
public static RequestedSecurityTokenType fromElement(Element element) throws com.sun.xml.ws.api.security.trust.WSTrustException
Constructs aRequestedSecurityTokenelement from an existing XML block.- Parameters:
element-org.w3c.dom.Elementrepresenting DOM tree forRequestedSecurityTokenobject.- Throws:
com.sun.xml.ws.api.security.trust.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
public com.sun.xml.ws.security.Token getToken()
- Specified by:
getTokenin interfacecom.sun.xml.ws.security.trust.elements.RequestedSecurityToken
-
setToken
public void setToken(com.sun.xml.ws.security.Token token)
- Specified by:
setTokenin interfacecom.sun.xml.ws.security.trust.elements.RequestedSecurityToken
-
-