Login Component issues

Avatar

Avatar

Tboness

Avatar

Tboness

Tboness

15-10-2015

Good morning.

Slowly but surely getting a hang of the system.
Starting to implement registration and login forms.

Registration:
Used the geometrix outdoor example for a successful registration page.
User information is stored in the following structure:
\home\users\mysite\

Login:
Im using the builtin login component:
/libs/foundation/components/login

Unfortunately, not having any success.
It keeps returning "The user could not be found."

Looking through the error log, I think the following might help:
GET /content/mysite/en/users/null/contextstores/profiledata/loader.json HTTP/1.1]
org.apache.sling.engine.impl.SlingRequestProcessorImpl
service: Resource /content/mysite/en/users/null/contextstores/profiledata/loader.json not found

I did experiment with the closed user group settings (page properties).

If possible, could you point me in the right direction?

Kind regards
Toby

View Entire Topic

Avatar

Avatar

Tboness

Avatar

Tboness

Tboness

15-10-2015

Hi smacdonald.

Instead of coding a custom login module, I want to use the out of the box one.
The geometrix-outdoor sites login component works.

Why create something from scratch that is already there?

The SecurityManager elements look promising:

<SecurityManager class="com.day.crx.core.CRXSecurityManager"> <WorkspaceAccessManager class="org.apache.jackrabbit.core.security.simple.SimpleWorkspaceAccessManager"/> <UserManager class="com.day.crx.core.CRXUserManagerImpl"> <param name="usersPath" value="/home/users"/> <param name="groupsPath" value="/home/groups"/> <param name="defaultDepth" value="1"/> </UserManager> </SecurityManager>

But I cannot find the repository.xml file. Using CQ6.
AdobeV6\crx-quickstart\repository\    -> Does not contain an XML file.

Kind regards
Toby