i would like to ask how can i use @PermissionCheck as suggested by the Seam manual to write a new annotation that can by applied to Classes and check for a certain action. i am tried this, but failed :(
@Target({TYPE}) // is this possible ?
@Documented
@Retention(RUNTIME)
@Inherited
@PermissionCheck("read")
public @interface ClassReadRestrict {
Class value() default void.class;
}
thanks