Custom Spring Security Expression not recognised by the inspector

已回答

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?

0
正式评论

Hello Robert,

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

Avatar
Permanently deleted user

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

0

请先登录再写评论。