Class TokenReference
- java.lang.Object
-
- org.apache.cxf.sts.token.provider.TokenReference
-
public class TokenReference extends Object
A class that encapsulates how a token should be referenced
-
-
Constructor Summary
Constructors Constructor Description TokenReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdentifier()Get the identifier associated with this tokenStringgetWsse11TokenType()Get the wsse11 TokenType attributeStringgetWsseValueType()Get the wsse ValueType attributebooleanisUseDirectReference()Get whether to use direct reference to refer to this tokenbooleanisUseKeyIdentifier()Get whether to use a KeyIdentifier to refer to this tokenvoidsetIdentifier(String identifier)Set the identifier associated with this tokenvoidsetUseDirectReference(boolean useDirectReference)Set whether to use direct reference to refer to this tokenvoidsetUseKeyIdentifier(boolean useKeyIdentifier)Set whether to use a KeyIdentifier to refer to this tokenvoidsetWsse11TokenType(String wsse11TokenType)Set the wsse11 TokenType attributevoidsetWsseValueType(String wsseValueType)Set the wsse ValueType attribute
-
-
-
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
-
-