AEM 6.1 - JAVA External Custom Login Module | Community
Skip to main content
New Participant
October 16, 2015
Solved

AEM 6.1 - JAVA External Custom Login Module

  • October 16, 2015
  • 5 replies
  • 4148 views

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.
Best answer by JustinEd3

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

smacdonald2008
New Participant
May 20, 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. 

ronnyfm
New Participant
May 20, 2016

Did you find a solution?

JustinEd3Accepted solution
Employee
October 16, 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-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

New Participant
October 16, 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.