Hello everyone,
I've already looked for it in a lot of places, but I couldn't find a tutorial or guiding page about creating a user register page on my site and then the login mechanism with that information.
Let me clarify: I want to create a website that can only be viewed by logged users and in this site the homepage should show a register process.
So, to be as clear as possible, what I want is:
- Create a new website from scratch;
- Create a page on this website that can only be viewed by a logged user (on my website, not on AEM);
- Provide a login component and a page to register users;
- To know where in the content repository is the users data stored and how to configure my login component to read this data and authenticate the user;
I've already saw the login foundation component and how it is used on Geometrixx, but without succeed in understand the process (couldn't find a new registered user on jcr, couldn't login with a new created user). So, is there any guide out there or some of you guys can tell me how can I create a login on my website, where the user data will be stored, how can I manage this, etc. etc.?
Obs: I've also looked into Closed Groups, but didn't find a resource to teach me how to properly use it. If I put a login component on my page and create a closed group with a user on User Management, even configuring (or without this configuration) on the root page about the closed group, the login component can't find my user.
Solved! Go to Solution.
There is not much change in documentation, but u can get latest from http://docs.adobe.com/docs/en/aem/6-0/administer/security/identity-management.html
Users will be stored at /home/users
You can create fully featured website using following link
http://dev.day.com/docs/en/cq/current/howto/website.html
You can assign permissions to your pages and components to restrict access to your pages using following link
http://docs.adobe.com/docs/en/aem/6-0/administer/security/security.html
You need to create pages for Login and registration account and drop the components, pls look how it is done for
geometrixx login http://localhost:4502/cf#/content/geometrixx/en/toolbar/account/login.html
geometrixx registration http://localhost:4502/cf#/content/geometrixx/en/toolbar/account/register.html
Your users data is stored in /home/users/.... CQ5 will take care of reading and checking for pages permissions before displaying to users.
Have you tried this link it has all info on user registration and account management
http://wem.help.adobe.com/enterprise/en_US/10-0/wem/administering/identity_management.html
Views
Replies
Total Likes
Yes, I did.
Notice that this page is about Adobe CQ 5.4, and only have info on Geometrixx login functionality. I have created a user login on Geometrixx and coudn't find it anywhere in the content repository (even with a query on the email provided).
So, even with the links to other pages (and I did read those pages, eg. Closed Groups or Personalization) unfortunately, this page doesn't helped me :(
Views
Replies
Total Likes
There is not much change in documentation, but u can get latest from http://docs.adobe.com/docs/en/aem/6-0/administer/security/identity-management.html
Users will be stored at /home/users
You can create fully featured website using following link
http://dev.day.com/docs/en/cq/current/howto/website.html
You can assign permissions to your pages and components to restrict access to your pages using following link
http://docs.adobe.com/docs/en/aem/6-0/administer/security/security.html
You need to create pages for Login and registration account and drop the components, pls look how it is done for
geometrixx login http://localhost:4502/cf#/content/geometrixx/en/toolbar/account/login.html
geometrixx registration http://localhost:4502/cf#/content/geometrixx/en/toolbar/account/register.html
Your users data is stored in /home/users/.... CQ5 will take care of reading and checking for pages permissions before displaying to users.
Mshajiahmed,
A few questions to help me better understand and make this work:
- To replicate users created on publish, I need a reverse replication agent on Publish, right? And I have one, only it doesn't work. I can't even enable it. Tried with the OOB one and with one I've created.
- I've already created users (even on author) on Geometrixx and Geometrixx Outdoors and I can even log-in with them, but they don't appear anywhere on the JCR. No, they are not in /home/users or anywhere like this. Can you help me find them?
- In general, it's very nice on Geometrixx. On Geometrixx. I kind of begin to understand the term "CRXDespair" when a simple thing like creating a Register page and a Login function in a custom website (the link you gave to "Create a functional website" has nothing related to Login, I created this sometimes in every version from 5.4 to today) feels like hell. Maybe I should change my approach, and build it with fixed html on a template?
Thanks in advance,
Matheus Barreto.
Views
Replies
Total Likes
Mat.Barreto wrote...
Mshajiahmed,
A few questions to help me better understand and make this work:
- To replicate users created on publish, I need a reverse replication agent on Publish, right? And I have one, only it doesn't work. I can't even enable it. Tried with the OOB one and with one I've created.
- I've already created users (even on author) on Geometrixx and Geometrixx Outdoors and I can even log-in with them, but they don't appear anywhere on the JCR. No, they are not in /home/users or anywhere like this. Can you help me find them?
- In general, it's very nice on Geometrixx. On Geometrixx. I kind of begin to understand the term "CRXDespair" when a simple thing like creating a Register page and a Login function in a custom website (the link you gave to "Create a functional website" has nothing related to Login, I created this sometimes in every version from 5.4 to today) feels like hell. Maybe I should change my approach, and build it with fixed html on a template?
Thanks in advance,
Matheus Barreto.
Although marked as answered, it will help me a lot if anyone could answer these last questions.
Also, a new question:
I've changed the page template on Geometrixx so that I could use it on my custom site. Then, copied the "geometrixx-outdoors/en/user/register" page on my website and registered a new user. The page alow me to sign-in, whats amazing, but if I run a QueryBuilder searching for, in example, the email registered, I get no results (the query: http://localhost:4502/bin/querybuilder.json?property.value=cq%3amobarreto, as the email is "mobarreto@live.com", tryed to add an "*" or the rest of the email in the end, same result; and the result of this is: {"success":true,"results":0,"total":0,"offset":0,"hits":[]}). So, where can I find this user data on the JCR?
Thank you guys in advance,
Matheus Barreto.
EDIT: Solved, tried again to configure the form component and could find the user node where I configured on the "Action Configuration".
Topic solved.
Views
Replies
Total Likes
Hi Matheus,
All the users will be created under /home/users
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies