1 package com.atlassian.xwork;
2
3 import java.lang.annotation.Retention;
4 import java.lang.annotation.RetentionPolicy;
5 import java.lang.annotation.Target;
6 import java.lang.annotation.ElementType;
7
8 /**
9 * Method level annotation for XWork actions to mark whether a particular action method invocation needs to be
10 * protected by an XSRF token.
11 */
12 @Retention(RetentionPolicy.RUNTIME)
13 @Target(ElementType.METHOD)
14 public @interface RequireSecurityToken
15 {
16 boolean value();
17 }