Package com.atlassian.connect.spring
Annotation Type ContextJwt
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface ContextJwt
An annotation used on Spring Web MVCController
s 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 valueTo accept requests using a context JWT authentication, add this annotation to the class or method:
@Controller @ContextJWT public class PublicController { ... }
- Since:
- 2.1.3