All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.connect.spring.IgnoreJwt Maven / Gradle / Ivy

There is a newer version: 5.1.4
Show 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 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