whats given: 
CAS 3 server, CAS client 2.1 under tomcat 5.5 installed as a Filter
The problem is that if I have a resource like 

http://myserver:8080/app1/?ticket=ST-8-qmKXGzftOK12k4Pa1dgXPRWtGaEsIlGbdoX-20

and after one hour try to reload this page - I get an exception from CAS client 
(complete trace is lower). I just want to know which possibilities I have to 
avoid or catch such an exception. It could be that session under CAS server is 
longer than CAS client session and a user is still logged, but needs a new 
ticket, for example...

Thanks
Matvey

--------------------------------------

javax.servlet.ServletException: Unable to validate ProxyTicketValidator 
[[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null] 
[edu.yale.its.tp.cas.client.ServiceTicketValidator 
casValidateUrl=[https://esstest1.local.wmgruppe.de:8443/cas/serviceValidate] 
ticket=[ST-8-qmKXGzftOK12k4Pa1dgXPRWtGaEsIlGbdoX-20] 
service=[http%3A%2F%2Fesstest1.local.wmgruppe.de%3A8080%2Fcas1%2F] 
errorCode=[INVALID_TICKET] errorMessage=[ticket 
'ST-8-qmKXGzftOK12k4Pa1dgXPRWtGaEsIlGbdoX-20' not recognized] renew=false 
entireResponse=[<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
        <cas:authenticationFailure code='INVALID_TICKET'>
                ticket 'ST-8-qmKXGzftOK12k4Pa1dgXPRWtGaEsIlGbdoX-20' not 
recognized
        </cas:authenticationFailure>
</cas:serviceResponse>
]]]]
        edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:381)


root cause 

edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate 
ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator 
proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator 
casValidateUrl=[https://esstest1.local.wmgruppe.de:8443/cas/serviceValidate] 
ticket=[ST-8-qmKXGzftOK12k4Pa1dgXPRWtGaEsIlGbdoX-20] 
service=[http%3A%2F%2Fesstest1.local.wmgruppe.de%3A8080%2Fcas1%2F] 
errorCode=[INVALID_TICKET] errorMessage=[ticket 
'ST-8-qmKXGzftOK12k4Pa1dgXPRWtGaEsIlGbdoX-20' not recognized] renew=false 
entireResponse=[<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
        <cas:authenticationFailure code='INVALID_TICKET'>
                ticket 'ST-8-qmKXGzftOK12k4Pa1dgXPRWtGaEsIlGbdoX-20' not 
recognized
        </cas:authenticationFailure>
</cas:serviceResponse>
]]]]
        edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:62)
        
edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:457)
        edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:378)




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

Reply via email to