SAML Authentication - Addition to Default Groups | Community
Skip to main content
srikanthp689160
October 9, 2020
Solved

SAML Authentication - Addition to Default Groups

  • October 9, 2020
  • 2 replies
  • 2756 views

Hi Team,

I have one question on Default Groups configuration in SAML Authentication Handler. From documentation I understand that if Autocreate CRX Users is checked, Group Membership and is configured with name of attribute in SAML response, user would be added to respective groups after user creation.

On subsequent login attempts if the value in SAML response against Group Membership changes, will the user be removed from earlier group?

For example, user1 is logging for the first time and SAML response contains Group Membership as group1, after successful login, user is added to group1. As part of Business requirement, if user needs to be mapped to a different crx user group group2 and remove from earlier group(group2) then how should SAML response of Group Membership attribute look like?

Just group2 would do? Will this take care of removing user from group1?

 

Is there a way we can test this scenario? Could not think of a way since we do not have access to IDP configuration. Any inputs on open source IDP where we can configure SAML response attributes would be highly helpful.

 

Thanks

Srikanth

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Abdul_Rasheed

best way to implement user and group administration for SAML would be manage AEM access using local AEM groups and once the SAML groups are synced in AEM, manually map them to these local groups

2 replies

Abdul_RasheedAccepted solution
October 9, 2020

best way to implement user and group administration for SAML would be manage AEM access using local AEM groups and once the SAML groups are synced in AEM, manually map them to these local groups

srikanthp689160
October 13, 2020
@abdul_rasheed, sorry for my ignorance, does the statement "Now map the saml_a group to aem_grp_a as member, this will ensure all aem_grp_a perm will be applicable for saml_a group", mean both saml_a and aem_grp_a needs to be created in AEM and add saml_a to aem_grp_a manually?
October 11, 2020

For open-source IDP - https://www.ssocircle.com/en/portfolio/publicidp/ this works best. We can register using an email and utilize the services. Although this has a certain limit on the number of requests, can try to register with other email IDs for more testing.