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 Details

    • GenericToken

      public GenericToken(Element token)
      Creates a new instance of GenericToken
    • GenericToken

      public GenericToken(javax.xml.bind.JAXBElement token)
    • GenericToken

      public GenericToken(Element token, String tokenType)
    • GenericToken

      public GenericToken(SecurityHeaderElement headerElement)
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface com.sun.xml.ws.security.Token
    • getTokenValue

      public Object getTokenValue()
      Specified by:
      getTokenValue in interface com.sun.xml.ws.security.Token
    • getElement

      public SecurityHeaderElement getElement()
    • getId

      public String getId()
    • setId

      public void setId(String id)