Hi Gerhard

Thank you for your quick answer. I browsed the JIRA also for my next topic, but 
could not find anything, hopefully not overlooking an issue. If so, please 
apologize.

Regards
Rainer




Am 10.04.2013 10:15, schrieb Gerhard Petracek:
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 <[email protected]>

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