【问题标题】:Authenticate user inside all virtual servers在所有虚拟服务器中验证用户
【发布时间】:2016-07-29 18:50:28
【问题描述】:

我在 glassfish 上有大约 5 个虚拟服务器,我将在所有虚拟服务器中验证用户,但任何虚拟服务器都有单独的会话 ID。 我怎样才能做到这一点? 什么是 JSESSIONIDSSO,它能解决我的问题吗?

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

【问题讨论】:

    标签: jakarta-ee glassfish single-sign-on jsessionid virtual-server


    【解决方案1】:

    Shiro Session Clustering with Cache 可以在这种情况下为您提供帮助。会话将由 shiro 使用集群缓存管理。 一个例子是: https://github.com/stormpath/shiro-hazelcast-web-sample

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 1970-01-01
      • 2020-07-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多