Skip to content

Commit 5c4362b

Browse files
koosgjzheaux
authored andcommitted
Refresh parsers when not found
Closes gh-3065
1 parent 8315545 commit 5c4362b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/src/main/java/org/springframework/security/config/SecurityNamespaceHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public BeanDefinition parse(Element element, ParserContext pc) {
101101
if (parser == null) {
102102
// SEC-1455. Load parsers when required, not just on init().
103103
loadParsers();
104+
parser = this.parsers.get(name);
104105
}
105106
if (parser != null) {
106107
return parser.parse(element, pc);

0 commit comments

Comments
 (0)