Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

AEM 6.1 - JAVA External Custom Login Module

Avatar

Level 2

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. 

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Employee

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

Lösung in ursprünglichem Beitrag anzeigen

5 Antworten

Avatar

Korrekte Antwort von
Employee

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

Avatar

Employee Advisor

Avatar

Level 2

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.

Avatar

Level 4

Did you find a solution?

Avatar

Level 10

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.