Package com.sun.xml.ws.security.trust
Class GenericToken
- java.lang.Object
-
- com.sun.xml.ws.security.trust.GenericToken
-
- All Implemented Interfaces:
com.sun.xml.ws.security.Token
public class GenericToken extends Object implements com.sun.xml.ws.security.Token
- Author:
- Jiandong Guo
-
-
Constructor Summary
Constructors Constructor Description GenericToken(SecurityHeaderElement headerElement)GenericToken(javax.xml.bind.JAXBElement token)GenericToken(Element token)Creates a new instance of GenericTokenGenericToken(Element token, String tokenType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityHeaderElementgetElement()StringgetId()ObjectgetTokenValue()StringgetType()voidsetId(String id)
-
-
-
Constructor Detail
-
GenericToken
public GenericToken(Element token)
Creates a new instance of GenericToken
-
GenericToken
public GenericToken(javax.xml.bind.JAXBElement token)
-
GenericToken
public GenericToken(SecurityHeaderElement headerElement)
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein interfacecom.sun.xml.ws.security.Token
-
getTokenValue
public Object getTokenValue()
- Specified by:
getTokenValuein interfacecom.sun.xml.ws.security.Token
-
getElement
public SecurityHeaderElement getElement()
-
getId
public String getId()
-
setId
public void setId(String id)
-
-