com.atlassian.connect.spring.IgnoreJwt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atlassian-connect-spring-boot-api Show documentation
Show all versions of atlassian-connect-spring-boot-api Show documentation
Provides the API of Atlassian Connect for Spring Boot
package com.atlassian.connect.spring;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* An annotation used on Spring Web MVC
* {@link org.springframework.stereotype.Controller}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
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface IgnoreJwt {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy