-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configtype: bugA general bugA general bugtype: jiraAn issue that was migrated from JIRAAn issue that was migrated from JIRA
Milestone
Description
Pelit Mamani (Migrated from SEC-2839) said:
After reloading parsers, one needs to call 'get' again.
Please see:
class: org.springframework.security.config.SecurityNamespaceHandler
Method: public BeanDefinition parse(Element element, ParserContext pc)
Contains:
BeanDefinitionParser parser = parsers.get(name);
if (parser == null) {
// SEC-1455. Load parsers when required, not just on init().
loadParsers();
}
if (parser == null) {
.... /// report error message
What's missing is a repeated 'get' after parser were reloaded:
BeanDefinitionParser parser = parsers.get(name);
if (parser == null) {
// SEC-1455. Load parsers when required, not just on init().
loadParsers();
BeanDefinitionParser parser = parsers.get(name); // HERE
}
if (parser == null) {
.... /// report error message
Thanks
Metadata
Metadata
Assignees
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configtype: bugA general bugA general bugtype: jiraAn issue that was migrated from JIRAAn issue that was migrated from JIRA