Annotation Type TokenResource


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface TokenResource
Annotation to be placed on resource classes or resource methods that should be ignored by OAuth server filter. Filter will not perform authentication and authorization check for resources with this annotation and will leave the SecurityContext unchanged. This annotation is intended to be placed on resource providing Request and Access Token during Authorization process.

The annotation can be placed on a resource method directly or resource class.