TokenValidatorResponse - 8.0

Talend ESB STS User Guide

English (United States)
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Talend ESB
Talend Runtime
Design and Development
Installation and Upgrade

The "validateToken" method returns an object of type TokenValidatorResponse. Similar to the TokenValidatorParameters object, this just holds a collection of objects that is parsed by the STS operation to construct a response to the client. The properties are:

  • ReceivedToken token - Represents the token that was received for validation. If the token is determined valid, then the ReceivedToken will be given a valid state ReceivedToken.STATE.VALID, otherwise STATE.INVALID or STATE.EXPIRED
  • Principal principal - A principal corresponding to the validated token.
  • Map<String, Object> additionalProperties - Any additional properties associated with the validated token.
  • String realm - The realm of the validated token.