AEM 6.1 - JAVA External Custom Login Module

Avatar

Avatar

Anand_Bisht

Avatar

Anand_Bisht

Anand_Bisht

15-10-2015

We have a custom (java) login module that was implemented in 5.6 version but its not working after upgrading to 6.0/6.1. 

We understand that in AEM 6 we have to re-create the custom login module using Oak External Login Module or implement org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin . We found some articles on the developer forum, but they are not detailed. Need your help on how to achieve this in AEM 6. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

justin_at_adobe

Employee

Avatar

justin_at_adobe

Employee

justin_at_adobe
Employee

15-10-2015

Hi,

Please review the Oak documentation: http://jackrabbit.apache.org/oak/docs/security/authentication/externalloginmodule.html. You might also want to watch the recently held CQ Gems session on this topic: http://dev.day.com/content/ddc/en/gems/oak-s-external-login-module---authenticating-with-ldap-and-be...

Do not use org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin. This has never been supported in AEM and will never be supported.

Regards,

Justin

Answers (4)

Answers (4)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

20-05-2016

If you want to learn how to create a custom OAK login module - see this HELPX article with code by Lokesh: 

https://helpx.adobe.com/experience-manager/using/oak-login.html

This will point you in the right direction. 

Avatar

Avatar

ronnyfm

Avatar

ronnyfm

ronnyfm

20-05-2016

Did you find a solution?

Avatar

Avatar

Anand_Bisht

Avatar

Anand_Bisht

Anand_Bisht

15-10-2015

I have watched the recent session conducted on external login with LDAP module and that was for LDAP configuration. I am looking substitute for com.day.crx.core.CRXLoginModule if any POC or example code exist. I was looking at this https://github.com/apache/jackrabbit-oak.