Hi all

Here is episode 2 of my security module exploration:

When I create a @Stereotype for @Secured to pass some meta data to the DecisionVoter and 
apply the annotation to a ViewConfig interface or class, it is not intercepted, thus no 
effect. When I apply the annotation to a type or method of a "regular" bean, 
everything works fine. It seems as the view handler is not aware of the stereotyped 
annotation.

Example of my annotation:

@Target({TYPE, METHOD, FIELD})
@Retention(RUNTIME)
@Secured(RoleDecisionVoter.class)
@Stereotype
public @interface SecurityRoleCheck {
        String role();
}

Regards
Rainer

Reply via email to