We have created certain non SAML users and groups. In AEM 6.5 is there out of box ability to deactivate users/groups that are inactive for more than 90days. Also to send reminder emails prior to deactivating them.
Sling creates a new session for every request, and closes it when the request is done. There is no jcr Session associated with a user session as such.
When user request the site, sling back-end will instantiate a new session for it or using previously opened (Of cause this is a common case for application server). But a lot of opened sessions can impact performance therefore not active sessions must be closed. For close user session after inactivity we should:
@movovijay05 The main challenge here is to find the list of inactive users. As far i know, there is no direct way we can do this. Please follow the below community post for finding the users, then you can write a scheduler which runs every week to check the inactive users and sends email before week of expiration (also enable SMTP configuration), and mark it with some flag, and write another/within same scheduler to delete inactive users after expiration date reached.