[英]CAS: credentials don't get validated if the login page is idle
I have a situation in which, if the login page stays idle for sometime then the entered credentials don't get validated and nothing happens. 我遇到一种情况,如果登录页面闲置一段时间,那么输入的凭据将不会得到验证,并且什么也不会发生。 Instead same login page is displayed clearing the entered username
and password
. 而是显示相同的登录页面,清除输入的username
和password
。 But next try will work and the credentials get validated. 但是下一次尝试将起作用,并且凭据将得到验证。 Does anyone know about this issue? 有人知道这个问题吗?
There is a timeout associated with the CAS login page. 与CAS登录页面相关的超时。 When a login page is served to the client, a login ticket associated with it is created which lasts the CAS web session. 将登录页面提供给客户端后,将创建与之关联的登录票证,该票证将持续CAS Web会话。 So you have to enter credentials before the login ticket expires, which depens on the CAS web session timeout (defined in your web.xml). 因此,您必须在登录凭单过期之前输入凭据,这取决于CAS Web会话超时(在web.xml中定义)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.