mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-24 03:03:44 +00:00
Refresh parsers when not found
Closes gh-3065
This commit is contained in:
parent
8315545144
commit
5c4362bbc4
@ -101,6 +101,7 @@ public final class SecurityNamespaceHandler implements NamespaceHandler {
|
|||||||
if (parser == null) {
|
if (parser == null) {
|
||||||
// SEC-1455. Load parsers when required, not just on init().
|
// SEC-1455. Load parsers when required, not just on init().
|
||||||
loadParsers();
|
loadParsers();
|
||||||
|
parser = this.parsers.get(name);
|
||||||
}
|
}
|
||||||
if (parser != null) {
|
if (parser != null) {
|
||||||
return parser.parse(element, pc);
|
return parser.parse(element, pc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user