shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Demers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SHIRO-378) PropertiesRealm able to reload Classpath properties files
Date Fri, 24 Jun 2016 00:28:16 GMT

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

Brian Demers updated SHIRO-378:
-------------------------------
    Labels: patch  (was: )

> PropertiesRealm able to reload Classpath properties files
> ---------------------------------------------------------
>
>                 Key: SHIRO-378
>                 URL: https://issues.apache.org/jira/browse/SHIRO-378
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Realms 
>    Affects Versions: 1.2.0
>         Environment: Windows 7 x64, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64
>            Reporter: Ludovic Garcia
>            Priority: Minor
>              Labels: patch
>         Attachments: SHIRO-378-patch.txt
>
>
> When deploying a project using shiro on Tomcat, users.properties file could be referenced
as classpath files, with condition in PropertiesRealm.afterRoleCacheSet() at line 166, automatic
file reloading is impossible.
> if (this.resourcePath.startsWith(ResourceUtils.FILE_PREFIX) && scheduler != null)
{
>     startReloadThread();
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message