Annotation Type ContextJwt


  • @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    public @interface ContextJwt
    An annotation used on Spring Web MVC Controllers or individual controller methods to denote that a context JWT is acceptable on this endpoint. Such JWTs will contain the query string hash claim but it will not be a valid value

    To accept requests using a context JWT authentication, add this annotation to the class or method:

     @Controller
     @ContextJWT
     public class PublicController {
         ...
     }
    Since:
    2.1.3