![JAR search and dependency download from the Maven repository](/logo.png)
com.atlassian.connect.spring.ContextJwt Maven / Gradle / Ivy
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