SEC-2190: Support WebApplicationContext in any ServletContext attribute #2417
Labels
in: taglibs
An issue in spring-security-taglibs
type: bug
A general bug
type: jira
An issue that was migrated from JIRA
Milestone
Fred Allard (Migrated from SEC-2190) said:
When using the new way of configuring the DispatcherServlet in the web.xml without the ContextLoaderListener (3.2.0 core), the AbstractAuthorizeTag cannot find the configured WebContext because it is not associated with the default contextAttribute WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE.
The SpringSecurityFilterChain solved this problem by adding a contextAttribute init-param.
web.xml :
Error on a jsp acces :
The text was updated successfully, but these errors were encountered: