Browse Source

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

Mark St. Godard 19 years ago
parent
commit
1ca02b6922

+ 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 ================================================================