Include @Inherited and @Documented to Secured annotation
see SEC-148
This commit is contained in:
parent
9771b7817a
commit
1ca02b6922
|
@ -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 ================================================================
|
||||
|
||||
|
|
Loading…
Reference in New Issue