Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
2.22.12
-
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
- relates to
-
CMS-6643 [BACKPORT] RememberMePlugin does not work with userfolders
- Closed