Solved: CAS Client Filter - how to handle ticket validation exception

Matteo Matteo matteo at inbox.ru
Fri Jul 4 03:32:20 EDT 2008


the easiest solution was simply to change a behavior of Yale client and recompile it again.
Actually it was not really nice soulution when at first the filter checks for CASAuthenticationException and upon this exception throws HttpServletRequest, it is hard to distinguish then what happened. 

-----Original Message-----
From: Matteo Matteo <matteo at inbox.ru>
To: cas at tp.its.yale.edu
Date: Wed, 02 Jul 2008 11:53:47 +0400
Subject: CAS Client Filter - how to handle ticket validation exception

> 
> Cas client 2.1.0 from yale.
> The problem is that if you session has timed out and you press F5 for page reloading, than if there's the ticket parameter in request - you'll get an InternalError Exception caused by ticket validation.
> The question is - what is the best solution for exception handling in this case and further redirect to CAS Server for authorization?
> Thanks
> 
> 




More information about the cas mailing list