Closed
Description
Describe the bug
Using @PreAuthorize annotation on Class is not found when method is declared on superclass.
To Reproduce
Tips: I'm using in reactive;
Create a class and define methods like:
class SomeApi {
@XXXMapping("/hello")
public Response hello(Request request) {
return ...;
}
}
Create a controller:
@RestController
@PreAuthorize("hasAnyRole('xxx')")
class Controller extands(implement) SomeApi {
// nothing here
}