# TokenValidatorResponse

The validateToken method returns an object of type [TokenValidatorResponse](http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/TokenValidatorResponse.java?view=markup). 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&lt;String, Object&gt; additionalProperties - Any additional properties associated with the validated token.
* String realm - The realm of the validated token.