You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1057E: No bean resolver registered in the context to resolve access to bean 'webSecurity'
The reason is that the application context is not set in the expressionHandler class WebExpressionAuthorizationManager.
The workarounds described by rwinch in #12974 are too complicated in a more complex security configuration.
Expected Behavior
The following code should work:
Current Behavior
Currently, it throws an exception:
Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1057E: No bean resolver registered in the context to resolve access to bean 'webSecurity'
The reason is that the application context is not set in the expressionHandler class WebExpressionAuthorizationManager.
The workarounds described by rwinch in #12974 are too complicated in a more complex security configuration.
This improvement would solve: #13184
The text was updated successfully, but these errors were encountered: