Class TokenContext
- java.lang.Object
-
- org.sourceid.wstrust.plugin.process.TokenContext
-
public class TokenContext extends Object
This class contains context data resulting from the processing of a token.
-
-
Constructor Summary
Constructors Constructor Description TokenContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,AttributeValue>getSubjectAttributes()Retrieve 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.
-
-
-
Method Detail
-
getSubjectAttributes
public Map<String,AttributeValue> 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
public void setSubjectAttributes(Map<String,AttributeValue> subjectAttributes)
Set the map of attributes that uniquely identify the context of a token.- Parameters:
subjectAttributes-
-
-