Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM login handler for Production

Avatar

Level 1

Use case - create a login page and  let user log in to see certain pages in AEM production. 

I know we can use CUG and enable auth for that page. But the question is about login. 
How to create auth handler ?

Can we use sling form based /j_securtiy_check in PRODUCTION to let user log in ?

https://sling.apache.org/documentation/the-sling-engine/authentication/authentication-authentication...

or do we need to have servlet and implement loginHandler ?

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

If you require to have a custom login page associated with OOTB Authentication handler, then refer to the following URL - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/please-give-me-one-example...

Regards

Albin

https://www.albinsblog.com

 

View solution in original post

5 Replies

Avatar

Level 1

Thanks for quick reply. Will there be security or other kind of issue using OOTB  j_security_check instead of custom auth handler ??

My use case is pretty straightforward. 

Avatar

Community Advisor

@Bjbnmbbj  I dont think their would be any security issues. But are you looking at any specific security concern let me know

Avatar

Correct answer by
Community Advisor

If you require to have a custom login page associated with OOTB Authentication handler, then refer to the following URL - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/please-give-me-one-example...

Regards

Albin

https://www.albinsblog.com

 

Avatar

Community Advisor

@Bjbnmbbj what is your requirement? If you don't want any custom login page and handler,  use OOTB AEM feature, just enable /libs/granite/core/content/login.html in your dispatcher, once you configure CUG group and enable authentication requirements checkbox, when we hit any page under that page, AEM redirect the user to AEM Default login screen.