You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2020/07/22 16:08:00 UTC

[jira] [Updated] (SHIRO-762) SecurityUtils.securityManager should be volatile

     [ https://issues.apache.org/jira/browse/SHIRO-762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francois Papon updated SHIRO-762:
---------------------------------
    Fix Version/s: 1.6.0

> SecurityUtils.securityManager should be volatile
> ------------------------------------------------
>
>                 Key: SHIRO-762
>                 URL: https://issues.apache.org/jira/browse/SHIRO-762
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>            Reporter: Boris Petrov
>            Priority: Critical
>             Fix For: 1.5.4, 2.0.0, 1.6.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)