Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Resolved
-
1.5.2
-
None
-
None
Description
SecurityUtils.securityManager should be volatile because it can be modified and read by different threads. Otherwise different threads see different values and crazy things happen.
GitHub PR: https://github.com/apache/shiro/pull/218