We have SAML authentication which also provide us user related groups which we save in AEM and maintain a session.
On the basis of these groups we give page access.
As we maintain a session if we add/update/delete groups in user's account the changes do not reflect until the session expires and user's logs in again.
Is there any way to make this real time or we do we have any OOTB workflow using which we can forcefully logout users.
Or any other recommended way ?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
I think having changes applied after the session has expired was intentionally designed. Imagine you are working on something and suddenly get logged out because an admin updated your user's ACL. This could lead to a bad user experience. So, my recommendation would be to put in place a business process for these updates. Perhaps it's better to send an email with instructions that the user should log out to see the permission changes applied.
If you really want to force a user to log out from their session, you would need to implement something custom and manual to check if there is some sort of flag indicating that the session needs to be terminated. You could use something like a filter to achieve that, but again, I wouldn't recommend forcing a logout. Another alternative is to tune up the session lifetime and align it with something smaller. You can check something like this:
https://helpx.adobe.com/experience-manager/kb/login-session-refresh-not-working.html
Hope this helps
Hi @Randeep_virk ,
To ensure real-time access control in Adobe Experience Manager (AEM) based on changes in user groups retrieved from SAML authentication, you can implement a solution that periodically synchronizes user groups or actively invalidates user sessions when group memberships change. Here's how you can achieve this:
Periodic Synchronization:
Session Invalidation:
Forceful Logout Workflow:
Event-Driven Approach:
Session Management Configuration:
By implementing one or more of these approaches, you can achieve real-time access control in AEM based on changes in user groups retrieved from SAML authentication, ensuring that users have the appropriate access to pages and content without delay. Choose the approach that best suits your requirements and infrastructure setup.
Randeep, Are you able to try any of the options? Can you post your findings?
Views
Like
Replies
Views
Likes
Replies
Views
Like
Replies