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 <[EMAIL PROTECTED]>
To: [email protected]
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
> 
> 

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to