Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Aem Author - SlingRepository login

Avatar

Level 4

Good morning, my Author machine only allows Ldap users to log in.

Could you tell me if SlingRepository's "repository.login" function uses the ldap module?

 

The code contained in a "service" is the following:

Reference
 private SlingRepository repository;

.

.

.

session = repository.login(new SimpleCredentials(username, password.toCharArray()));

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @robertol6836527 As per your question, your author machine only accepts LDAP users because user accounts available in the AEM author server are in sync with users available in LDAP server. 

You should go through below article to get more info on AEM-LDAP integration. 

Configuring LDAP with AEM 6 | Adobe Experience Manager

HOW TO SYNCHRONIZE AEM WITH LDAP USERS AND GROUPS (aemsigma.blogspot.com)

 

if you are looking for any custom authentication handler to bypass ldap authentication, you should check below thread

Solved: Custom AuthenticationHandler and LoginModule on AE... - Adobe Experience League Community - ...

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @robertol6836527 As per your question, your author machine only accepts LDAP users because user accounts available in the AEM author server are in sync with users available in LDAP server. 

You should go through below article to get more info on AEM-LDAP integration. 

Configuring LDAP with AEM 6 | Adobe Experience Manager

HOW TO SYNCHRONIZE AEM WITH LDAP USERS AND GROUPS (aemsigma.blogspot.com)

 

if you are looking for any custom authentication handler to bypass ldap authentication, you should check below thread

Solved: Custom AuthenticationHandler and LoginModule on AE... - Adobe Experience League Community - ...