简体   繁体   中英

CAS with Glassfish Cluster and load blancer

I'm trying to implement a CAS authentication system in a clustered environment, the problem is that after the user authenticates the load balancer routes the CAS tickets to the wrong instance of the cluster, resulting in a TickedValidationException.

Does anyone know how to make it work properly? I've been searching for it for days, and I can't find to much about it.

I solved this by making use of sticky sessions on the load balancer. If you are using Apache HTTPD, you may find this useful mod_proxy_balancer , specially the examples section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM