-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
2.272
If Jenkins#setSecurityRealm is called concurrently from multiple threads there is a potential race condition on the authentication filters registration.
Jenkins#setSecurityRealm calls filter.reset(), HudsonFilter#reset is not synchronized however it is replacing the old filter with the new filter (if there was one) which is not thread a thread safe operation.
The effect of this race condition is the wrong auth filter being registered.