Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

5 Replies

Avatar

Correct answer by
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

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