com.sun.xml.ws.security.trust
Class GenericToken

java.lang.Object
  extended by com.sun.xml.ws.security.trust.GenericToken
All Implemented Interfaces:
Token

public class GenericToken
extends Object
implements Token

Author:
Jiandong Guo

Constructor Summary
GenericToken(Element token)
          Creates a new instance of GenericToken
GenericToken(Element token, String tokenType)
           
GenericToken(JAXBElement token)
           
GenericToken(SecurityHeaderElement headerElement)
           
 
Method Summary
 SecurityHeaderElement getElement()
           
 String getId()
           
 Object getTokenValue()
          The token Value
 String getType()
          The type of the Token
 void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericToken

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


GenericToken

public GenericToken(JAXBElement token)

GenericToken

public GenericToken(Element token,
                    String tokenType)

GenericToken

public GenericToken(SecurityHeaderElement headerElement)
Method Detail

getType

public String getType()
Description copied from interface: Token
The type of the Token

Specified by:
getType in interface Token

getTokenValue

public Object getTokenValue()
Description copied from interface: Token
The token Value

Specified by:
getTokenValue in interface Token

getElement

public SecurityHeaderElement getElement()

getId

public String getId()

setId

public void setId(String id)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.