Expand my Community achievements bar.

SOLVED

LDAP Group matching with AEM6

Avatar

Level 2

Hey

How can i match the groups of a user from the LDAP with the groups in the CRX in AEM6 ? So that after he first sign in in AEM6 he automatically becomes a member of the same group in the CRX like the ones form LDAP.

 

thanks for your help

1 Accepted Solution

Avatar

Correct answer by
Level 10

I do not agree with statement like everyone becomes administrator because Everyone is special group in aem & i do not know how it become part of administrator.

Anyhow for your requirement need to write a custom syncHandler [1]  & the one that comes with out of the box default sync handler does not have an option. 

[1]    http://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/...

View solution in original post

3 Replies

Avatar

Level 2

i used this option. But then every User gets automatically in this group (like everyone becomes administrator). But i want to match the Groups of a User from the LDAP with the groups of the user in the CRX. So that the user has automatically the same groups in the CRX like he has in the LDAP

Avatar

Correct answer by
Level 10

I do not agree with statement like everyone becomes administrator because Everyone is special group in aem & i do not know how it become part of administrator.

Anyhow for your requirement need to write a custom syncHandler [1]  & the one that comes with out of the box default sync handler does not have an option. 

[1]    http://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/...