You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Ludovic Garcia (JIRA)" <ji...@apache.org> on 2012/07/21 17:00:45 UTC
[jira] [Updated] (SHIRO-378) PropertiesRealm able to reload
Classpath properties files
[ https://issues.apache.org/jira/browse/SHIRO-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ludovic Garcia updated SHIRO-378:
---------------------------------
Description:
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();
}
was:
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, this is impossible.
if (this.resourcePath.startsWith(ResourceUtils.FILE_PREFIX) && scheduler != null) {
startReloadThread();
}
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira