Custom Spring Security Expression not recognised by the inspector

Answered

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?

3 comments
Comment actions Permalink
Official comment

Hello Robert,

this is currently not supported yet, please watch https://youtrack.jetbrains.com/issue/IDEA-167762 for progress.

Comment actions Permalink

That was a fast response ... thank you, I'll keep an eye on it.

0

Please sign in to leave a comment.