1 package com.atlassian.plugins.rest.common.security; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Retention; 5 import java.lang.annotation.RetentionPolicy; 6 import java.lang.annotation.Target; 7 8 /** 9 * The annotation used to indicate that a method needs XSRF protection checking 10 * 11 * @since 2.4 12 */ 13 @Retention (RetentionPolicy.RUNTIME) 14 @Target (ElementType.METHOD) 15 public @interface RequiresXsrfCheck 16 { 17 }