Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-378

PropertiesRealm able to reload Classpath properties files

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.0
    • None
    • Realms
    • Windows 7 x64, Apache Tomcat 6.0.35, JDK 1.6.0_31 X64

    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();
      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            coxalass Ludovic Garcia

            Dates

              Created:
              Updated:

              Slack

                Issue deployment