I have created a set of custom Spring Security methods by extending SecurityExpressionRoot and then I've registered this new root using a component which extends DefaultMethodSecurityExpressionHandler. The latter component was registered in the Spring XML file via <global-security> <expression-handler>.
The code works and the @PreAuthorize annotation does it's job ... My problem: whenever I use the custom method (expression) the IntelliJ inspector reports a warning and ins't able to identify the method.
Did I miss a step ? Is there something I can do to "help" the inspector?