CAS SSO

 

在debug模式下,经常会出现ticket验证失败的问题,如下

[11:25:00:325] [DEBUG] [http-nio-9988-exec-8] - org.jasig.cas.client.validation.Cas20ServiceTicketValidator - Server response: 


<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
    <cas:authenticationFailure code='INVALID_TICKET'>
        ticket &#039;ST-234-guz2bbICOW2yMEMzIXd2-DLUC&#039; not recognized
    </cas:authenticationFailure>
</cas:serviceResponse>

跟CAS server的配置有关,或者ticket不能重用或者ticket的有效时间特别短。

 

posted on 2022-03-25 11:46  -赶鸭子上架-  阅读(132)  评论(0)    收藏  举报