hi rainer,

please have a look at [1].

regards,
gerhard

[1] https://issues.apache.org/jira/browse/DELTASPIKE-336



2013/4/10 Rainer Schön <rainer.schoen....@gmail.com>

> 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