Hi all

Now my last observation regarding the security module: When @Secured is applied 
to a ViewConfig the DecisionVoter is called:

a) 3 times, when the security check passes and
b) 2 times, when the security check fails

This is not the behavior I expect and can lead to problems, when the check is 
expensive and/or in case of b) where security exceptions are thrown twice and 
thus must be filtered out in the exception handler in some way if the action 
taken should be unique.

If @Secured is applied to a bean or method, everything works fine.

Regards
Rainer

Reply via email to