java - 使用 SSL 实现 CAS 时出现 "NoSuchFlowExecutionException"异常

标签 java ssl https ssl-certificate cas

我正在为单点登录身份验证实现 CAS,为此我使用了 SSL。

我遇到以下错误,

org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key '_c642A7AC9-3721-0813-DF9B-9B90458DB0C9_kD14EEF54-E743-8317-8735-825AB028366B' -- perhaps this executing flow has ended or expired? This could happen if your users are relying on browser history (typically via the back button) that references ended flows.; nested exception is org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '642A7AC9-3721-0813-DF9B-9B90458DB0C9' -- perhaps this conversation has ended? 
org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getConversation(AbstractConversationFlowExecutionRepository.java:229)
org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getLock(AbstractConversationFlowExecutionRepository.java:119)
org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:217)
org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:111)
org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:165)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


root cause 

org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '642A7AC9-3721-0813-DF9B-9B90458DB0C9' -- perhaps this conversation has ended? 
org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:107)
org.springframework.webflow.conversation.impl.SessionBindingConversationManager.getConversation(SessionBindingConversationManager.java:125)
org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getConversation(AbstractConversationFlowExecutionRepository.java:227)
org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getLock(AbstractConversationFlowExecutionRepository.java:119)
org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:217)
org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:111)
org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:165)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

如果有人对此有想法,请指导。

谢谢。

得到了一些线索,一些与“login-webflow.xml”相关的东西,发现......如果有人得到......请回复。

最佳答案

完成,这是证书名称的问题,将证书名称作为机器编号,它起作用了。

关于java - 使用 SSL 实现 CAS 时出现 "NoSuchFlowExecutionException"异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8677934/

相关文章:

java - 如何在 Criteria API(JPA) 中获取单列的不同值

java - 避免 Spring Controller 匹配静态内容

java - Maven 无法组装 WAR - Java 堆空间问题 - Stanford Core NLP

http - Grails - SSL 和 Spring 安全核心

java - 目录是否由 Hadoop 缓存符号链接(symbolic link)处理?

php - 如何在运行 Apache 2.4 的 Windows Server 上禁用 SSL - RC4 密码

ssl - Apache CXF SSL 通过代理

Firefox 表示证书不受信任,即使证书链良好

asp.net-mvc - 如何在 asp.net mvc 登录页面上实现 Https?

node.js - 启用 SSL 时禁用 HTTP