Return-Path: X-Original-To: apmail-shiro-dev-archive@www.apache.org Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53DB8D8B6 for ; Fri, 20 Jul 2012 16:03:35 +0000 (UTC) Received: (qmail 9308 invoked by uid 500); 20 Jul 2012 16:03:35 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 9284 invoked by uid 500); 20 Jul 2012 16:03:35 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 9270 invoked by uid 99); 20 Jul 2012 16:03:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2012 16:03:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E39541427F2 for ; Fri, 20 Jul 2012 16:03:34 +0000 (UTC) Date: Fri, 20 Jul 2012 16:03:34 +0000 (UTC) From: "Ludovic Garcia (JIRA)" To: dev@shiro.apache.org Message-ID: <868946843.82423.1342800214935.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (SHIRO-378) PropertiesRealm able to reload Classpath properties files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ludovic Garcia created SHIRO-378: ------------------------------------ Summary: 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, this 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