public class TokenContext extends Object
Constructor and Description |
---|
TokenContext() |
Modifier and Type | Method and Description |
---|---|
Key |
getSecretKey()
Retrieve the secret key associated with the security token.
|
Map<String,AttributeValue> |
getSubjectAttributes()
Retrieve the map of attributes that uniquely identify the context of a token.
|
boolean |
isUseHolderOfKey()
Indicate whether holder-of-key confirmation method is used.
|
void |
setSecretKey(Key secretKey)
Set the secret key associated with the security token.
|
void |
setSubjectAttributes(Map<String,AttributeValue> subjectAttributes)
Set the map of attributes that uniquely identify the context of a token.
|
void |
setUseHolderOfKey(boolean use)
Set by token generator to indicate whether holder-of-key confirmation method is used.
|
public Map<String,AttributeValue> getSubjectAttributes()
DescribablePlugin.getPluginDescriptor()
).public void setSubjectAttributes(Map<String,AttributeValue> subjectAttributes)
subjectAttributes
- public Key getSecretKey()
public void setSecretKey(Key secretKey)
secretKey
- public boolean isUseHolderOfKey()
public void setUseHolderOfKey(boolean use)
Copyright 2019 Ping Identity Corp. All rights reserved.