We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SecurityUtils.securityManager
1 parent 17ba694 commit 7935aa8Copy full SHA for 7935aa8
core/src/main/java/org/apache/shiro/SecurityUtils.java
@@ -34,7 +34,7 @@ public abstract class SecurityUtils {
34
* ONLY used as a 'backup' in VM Singleton environments (that is, standalone environments), since the
35
* ThreadContext should always be the primary source for Subject instances when possible.
36
*/
37
- private static SecurityManager securityManager;
+ private static volatile SecurityManager securityManager;
38
39
/**
40
* Returns the currently accessible {@code Subject} available to the calling code depending on
0 commit comments