SEC-2196: @PreAuthorize doesn't work with method wich using generics #2423
Using @PreAuthorize annotations on methods which using generics doesn't seem to work.
My code is like this:
Security interceptor doesn't work in this case, but annotated proxy methods works properly:
my settings is:
Seems like security interceptor doesn't affect methods with generics.
Also a similar problem is described here:
Rob Winch said:
The issues you link to seem like they may be related to using interfaces and trying to access the arguments within SpEL. There is an issue is logged already as SEC-2151
I am unable to produce the issue that you describe. Please provide a complete test case that fails otherwise this issue will be closed as cannot reproduce.