Class TokenContext


  • public class TokenContext
    extends Object
    This class contains context data resulting from the processing of a token.
    • Constructor Detail

      • TokenContext

        public TokenContext()
    • 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 -