So what I understand is,we have two session
1) Gluu server session
2) User IDP session
So,let me phrase my query in another way.
When user logs in IDP, the authentication information is stored in cookies in the user's browser.
This cookie is nothing but an identifier to user IDP session.In ideal world, if the cookie is present in browser then there exists an IDP session of that user and if the cookie is absent then the user IDP session has expired.
Which is that cookie ? AFAIK, Shibboleth IDP uses uese shib_idp_session_ss and shib_idp_session, but you said Gluu is not useing that.
So, if I want to check for existence of cookie in http request, which one i should be looking for ?
Extending my understanding further, I guess,the user + session information is cryptographically encoded within the cookie and there is no corresponding "authenticated server session" (which means there is no need for session replication in clustered env - LDAP replication is only for replicating user info + config data and not authentication session info)
Is my thought correct?
Appreciate all your help and directions.