问题描述
- cas TicketValidationException
-
cas sso的问题问题描述:cas单点登录可以登录成功,就是一个浏览器上 成功通过了cas单点登录,过了很久 ,不做任何操作(这时cas的验证 ST可能已经过期),当再在该浏览器上进行cas登录操作时就会报错。
错误截图:
230K0QMO}6M)[I1.JPEG)
解决方案
WARN [http-8082-1] Dec/11 01:41:17,455 validation.CompositeProxyReceivingTicketValidationFilter.[] - Current ticket validation fail
ure...
WARN [http-8082-1] Dec/11 01:41:22,970 validation.CompositeProxyReceivingTicketValidationFilter.[] - org.jasig.cas.client.validatio
n.TicketValidationException:
ticket 'ST-1-Mzzsw3hQUTNez3FyqbTH-cas-server' not recognized
org.jasig.cas.client.validation.TicketValidationException:
ticket 'ST-1-Mzzsw3hQUTNez3FyqbTH-cas-server' not recognized
at org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:86)
at org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:217)
at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:169)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
WARN [http-8082-1] Dec/11 01:41:22,971 validation.CompositeProxyReceivingTicketValidationFilter.[] - Current ticket validation fail
ure...