Package com.atlassian.connect.spring
Annotation Type IgnoreJwt
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface IgnoreJwt
An annotation used on Spring Web MVCController
s or individual controller methods to denote that authentication by JSON Web Token is not required. This should generally only be used for endpoints that will not be accessed by an Atlassian host.To accept requests without requiring JWT authentication, add this annotation to the class or method:
@Controller @IgnoreJwt public class PublicController { ... }
- Since:
- 1.0.0