CAS with Glassfish Cluster and load blancer

72 views Asked by At

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.

1

There are 1 answers

0
Level15 On

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.