Skip to main content
Level 2
Oct 16, 2015 2:28 AM UTC
Solved

AEM 6.1 - JAVA External Custom Login Module

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
JustinEd3Accepted solution
Adobe Employee
Oct 16, 2015 2:28 AM UTC

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-beyon.html

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

5 replies

Level 2
Oct 16, 2015 2:28 AM UTC

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.

Translate
JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:28 AM UTC

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-beyon.html

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

Translate
ronnyfm
Level 4
May 20, 2016 4:26 PM UTC

Did you find a solution?

Translate
smacdonald2008
Level 10
May 20, 2016 6:47 PM UTC

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. 

Translate