Include @Inherited and @Documented to Secured annotation
see SEC-148
This commit is contained in:
@@ -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 ================================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user