com.sun.xml.ws.security.trust.impl.elements
Class RequestedSecurityTokenImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.bindings.RequestedSecurityTokenType
com.sun.xml.ws.security.trust.impl.elements.RequestedSecurityTokenImpl
- All Implemented Interfaces:
- RequestedSecurityToken
public class RequestedSecurityTokenImpl
- extends RequestedSecurityTokenType
- implements RequestedSecurityToken
Implementation for the RequestedSecurityToken.
- Author:
- Manveen Kaur
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestedSecurityTokenImpl
public RequestedSecurityTokenImpl()
- Empty default constructor.
RequestedSecurityTokenImpl
public RequestedSecurityTokenImpl(@NotNull
RequestedSecurityTokenType rdstType)
RequestedSecurityTokenImpl
public RequestedSecurityTokenImpl(Token token)
fromElement
public static RequestedSecurityTokenType fromElement(@NotNull
Element element)
throws WSTrustException
- Constructs a
RequestedSecurityToken element from
an existing XML block.
- Parameters:
requestedSecurityTokenElement - A
org.w3c.dom.Element representing DOM tree
for RequestedSecurityToken object.
- Throws:
WSTrustException - if it could not process the
org.w3c.dom.Element properly, implying that
there is an error in the sender or in the element definition.
getToken
public Token getToken()
- Description copied from interface:
RequestedSecurityToken
- Returns the Security Token contained in the RequestedSecurityToken element.
- Specified by:
getToken in interface RequestedSecurityToken
- Returns:
Token
setToken
public final void setToken(Token token)
- Description copied from interface:
RequestedSecurityToken
- Sets the value of the Security Token in the RequestedSecurityToken element.
- Specified by:
setToken in interface RequestedSecurityToken
- Parameters:
token - Token
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.