Include @Inherited and @Documented to Secured annotation

see SEC-148
This commit is contained in:
Mark St. Godard 2006-01-30 03:27:18 +00:00
parent 9771b7817a
commit 1ca02b6922
1 changed files with 4 additions and 0 deletions

View File

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