Map SSO user to certain group based upon user profile in LDAP server
We have requirement when user will hit AEM, it will mapped to certain group based upon user profile available in lDAP server. To create the user we have SSO in place and now have to map this user to group though custom code . Can someone guide how to achieve this ?