jakarta-eeglassfishsingle-sign-onjsessionidvirtual-server

Authenticate user inside all virtual servers


I have around 5 virtual servers on glassfish and i'm going to authenticate user inside all virtual servers but any virtual server has individual session id. how can i do this? What is a JSESSIONIDSSO and will be able it solve my problem?

http://v1.localhost:81 => sessionID=7f60cc7076f690b365d85cff0a45
http://v2.localhost:81 => sessoinID=7b6d35dd17cbb05982ef769a12f7


Solution

  • I am not expert but you can consider Apache Shiro and CAS
    There are similar questions may help you.
    How to implement single sign on across multiple JVM based applications using Spring Security

    Single Sign On [SSO] across different domains using Java