Vikash,
I assume you have a load balancer in front of the Apache Web servers that is setting the sticky sessions.
I also assume that multiple new ST are being created, not that your service application is sending the same ST multiple times.
The application sends the ST to Cas directly, not through the browser. So the application gets its own sticky session which is likely to be on a different Apache server than the one the user's browser is on.
Thus you need a ticket storage system that is shared by both Cas servers.
I found that ehCache did not replicate fast enough so I switched to hazelcast. Other cache systems may work, same with a database.
Ray
On Fri, 2022-08-12 at 17:14 +0530, Vikash Chandra Ansh wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.