Apache CXF API

org.apache.cxf.sts.token.provider
Class TokenReference

java.lang.Object
  extended by org.apache.cxf.sts.token.provider.TokenReference

public class TokenReference
extends Object

A class that encapsulates how a token should be referenced


Constructor Summary
TokenReference()
           
 
Method Summary
 String getIdentifier()
          Get the identifier associated with this token
 String getWsse11TokenType()
          Get the wsse11 TokenType attribute
 String getWsseValueType()
          Get the wsse ValueType attribute
 boolean isUseDirectReference()
          Get whether to use direct reference to refer to this token
 boolean isUseKeyIdentifier()
          Get whether to use a KeyIdentifier to refer to this token
 void setIdentifier(String identifier)
          Set the identifier associated with this token
 void setUseDirectReference(boolean useDirectReference)
          Set whether to use direct reference to refer to this token
 void setUseKeyIdentifier(boolean useKeyIdentifier)
          Set whether to use a KeyIdentifier to refer to this token
 void setWsse11TokenType(String wsse11TokenType)
          Set the wsse11 TokenType attribute
 void setWsseValueType(String wsseValueType)
          Set the wsse ValueType attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenReference

public TokenReference()
Method Detail

getIdentifier

public String getIdentifier()
Get the identifier associated with this token

Returns:
the identifier associated with this token

setIdentifier

public void setIdentifier(String identifier)
Set the identifier associated with this token

Parameters:
identifier - the identifier associated with this token

getWsse11TokenType

public String getWsse11TokenType()
Get the wsse11 TokenType attribute

Returns:
the wsse11 TokenType attribute

setWsse11TokenType

public void setWsse11TokenType(String wsse11TokenType)
Set the wsse11 TokenType attribute

Parameters:
wsse11TokenType - the wsse11 TokenType attribute

getWsseValueType

public String getWsseValueType()
Get the wsse ValueType attribute

Returns:
the wsse ValueType attribute

setWsseValueType

public void setWsseValueType(String wsseValueType)
Set the wsse ValueType attribute

Parameters:
wsseValueType - the wsse ValueType attribute

isUseDirectReference

public boolean isUseDirectReference()
Get whether to use direct reference to refer to this token

Returns:
whether to use direct reference to refer to this token

setUseDirectReference

public void setUseDirectReference(boolean useDirectReference)
Set whether to use direct reference to refer to this token

Parameters:
useDirectReference - whether to use direct reference to refer to this token

isUseKeyIdentifier

public boolean isUseKeyIdentifier()
Get whether to use a KeyIdentifier to refer to this token

Returns:
whether to use a KeyIdentifier to refer to this token

setUseKeyIdentifier

public void setUseKeyIdentifier(boolean useKeyIdentifier)
Set whether to use a KeyIdentifier to refer to this token

Parameters:
useKeyIdentifier - whether to use a KeyIdentifier to refer to this token

Apache CXF API

Apache CXF