Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-6643

[BACKPORT] RememberMePlugin does not work with userfolders

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.22.12
    • 2.22.14
    • None
    • None

    Description

      In our project we have the users located in several userfolders (hipposys:userfolder). So the structure is like this:

      – /hippo:configuration/hippo:users/a/b/myusername

      When someone selects the 'remember me' checkbox in the loginscreen, the following error occurs:

      CMS 2012-10-17 11:06:47,136 ERROR [org.hippoecm.frontend.plugins.login.LoginPlugin] javax.jcr.PathNotFoundException: hippo:configuration/hippo:users/myusername

      This error is thrown at RememberMeLoginPlugin.java line 301:

      Node userinfo = jcrSession.getRootNode().getNode(
      HippoNodeType.CONFIGURATION_PATH + "/" + HippoNodeType.USERS_PATH + "/" + username);

      In the code above you can see that the expected path to get the node is not correct as it is missing my userfolders.

      So the fix here would be to use the correct path of the user.

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              mnour Mohammad Nour (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: