Thanks Thomas, Maybe I did a mistake when I tested this then, I will try it again.
On 15 February 2014 15:15, Thomas Andraschko <[email protected]>wrote: > AFAIR it worked fine in CODI. > > @Gerhard: Any reason why it don't work in DS? > > > 2014-02-15 15:11 GMT+01:00 Karl Kildén <[email protected]>: > > > Hello, > > > > If a user simply types in /secured/admin.xhtml in the browser the > @Secured > > annotation will not help, right? As far as I understand it's it only > > triggers the AccessDecisionVoter when you actually navigate with JSF... > > So I would still need to define a @WebFilter to secure my application. > > > > Now, the effect would that a secured request will be secured twice, once > by > > the filter and once by my AccessDecisionVoter and I didn't really > > accomplish much by using the AccessDecisionVoter? I feel like I am > missing > > something. > > > > cheers > > >
