Class TokenContext
java.lang.Object
org.sourceid.wstrust.plugin.process.TokenContext
This class contains context data resulting from the processing of a token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the map of attributes that uniquely identify the context of a token.voidsetSubjectAttributes(Map<String, AttributeValue> subjectAttributes) Set the map of attributes that uniquely identify the context of a token.
-
Constructor Details
-
TokenContext
public TokenContext()
-
-
Method Details
-
getSubjectAttributes
Retrieve the map of attributes that uniquely identify the context of a token. The keys of this map should be the same as the set of attributes defined as this token processor attribute contract in its TokenPluginDescriptor (TokenProcessor.getPluginDescriptor()).- Returns:
- the map of attributes
-
setSubjectAttributes
Set the map of attributes that uniquely identify the context of a token.- Parameters:
subjectAttributes-
-