# The TokenValidateOperation

[TokenValidateOperation](http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/operation/TokenValidateOperation.java?view=markup) is an extension of AbstractOperation used to validate tokens in the STS. It implements the [ValidateOperation](http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/sts/provider/operation/ValidateOperation.java?view=markup) interface in the STS provider framework. For validation, the below property from AbstractOperation can be configured:

* List&lt;[TokenValidator](http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/TokenValidator.java?view=markup)&gt; tokenValidators - A list of TokenValidator implementations to use to validate tokens.

Recall that AbstractOperation uses the [RequestParser](http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/request/RequestParser.java?view=markup) to parse a client request into [TokenRequirements](http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/request/TokenRequirements.java?view=markup) and [KeyRequirements](http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/request/KeyRequirements.java?view=markup) objects. TokenValidateOperation first checks that a ValidateTarget token was received and successfully parsed (if so it will be stored in the TokenRequirements object). If no token was received then an exception is thrown.

### In this section

* [Token validation and response](https://help.qlik.com/talend/en-US/esb-sts-user-guide/8.0/token-validation-and-response)
* [TokenValidateOperation example](https://help.qlik.com/talend/en-US/esb-sts-user-guide/8.0/tokenvalidateoperation-example)