com.atlassian.connect.spring.ContextJwt 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
The newest version!
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 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
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ContextJwt {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy