Class TokenReference
java.lang.Object
org.apache.cxf.sts.token.provider.TokenReference
A class that encapsulates how a token should be referenced
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the identifier associated with this tokenGet the wsse11 TokenType attributeGet the wsse ValueType attributebooleanGet whether to use direct reference to refer to this tokenbooleanGet 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
-
Constructor Details
-
TokenReference
public TokenReference()
-
-
Method Details
-
getIdentifier
Get the identifier associated with this token- Returns:
- the identifier associated with this token
-
setIdentifier
Set the identifier associated with this token- Parameters:
identifier- the identifier associated with this token
-
getWsse11TokenType
Get the wsse11 TokenType attribute- Returns:
- the wsse11 TokenType attribute
-
setWsse11TokenType
Set the wsse11 TokenType attribute- Parameters:
wsse11TokenType- the wsse11 TokenType attribute
-
getWsseValueType
Get the wsse ValueType attribute- Returns:
- the wsse ValueType attribute
-
setWsseValueType
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
-