浏览代码

Include @Inherited and @Documented to Secured annotation
see SEC-148

Mark St. Godard 19 年之前
父节点
当前提交
1ca02b6922
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      core-tiger/src/main/java/org/acegisecurity/annotation/Secured.java

+ 4 - 0
core-tiger/src/main/java/org/acegisecurity/annotation/Secured.java

@@ -15,7 +15,9 @@
 
 package org.acegisecurity.annotation;
 
+import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -42,6 +44,8 @@ import java.lang.annotation.Target;
  */
 @Target({ElementType.METHOD, ElementType.TYPE})
 @Retention(RetentionPolicy.RUNTIME)
+@Inherited
+@Documented
 public @interface Secured {
     //~ Methods ================================================================