All, I’m trying out cas 5.2.1 in our development environment. One of our services uses a splash screen that sends the Username and password encrypted to the cas server with a service parameter and a parameter called auto. In our CAS 5.1.1 environment this works, we use a separate theme, and have made adjustments to the html to make it work. The user logs in, is redirected to our modified CAS theme and then is authenticated and redirected to the service.
In CAS 5.2.1 this configuration does not work The service’s splash page submits the login information but cas never authenticates or redirects the web browser back to the service. The webflow debug looks like this in 5.1.1 2018-01-08 16:46:06,711 DEBUG [org.springframework.webflow.execution.repository.impl.DefaultFlowExecutionRepository] - <Adding snapshot to group with id 1> 2018-01-08 16:46:06,711 DEBUG [org.springframework.webflow.conversation.impl.SessionBindingConversationManager] - <Putting conversation attribute 'scope' with value map['flashScope' -> map['messagesMemento' -> map[[empty]]]]> 2018-01-08 16:46:06,711 DEBUG [org.springframework.webflow.conversation.impl.SessionBindingConversationManager] - <Unlocking conversation 2> 2018-01-08 16:46:20,319 DEBUG [org.springframework.webflow.mvc.servlet.FlowHandlerMapping] - <Mapping request with URI '/cas/login' to flow with id 'login'> 2018-01-08 16:46:20,340 DEBUG [org.springframework.webflow.executor.FlowExecutorImpl] - <Launching new execution of flow 'login' with input map['password' -> 'NEVER', 'auto' -> 'true', 'service' -> 'https://mywsu-test.wichita.edu', 'username' -> 'USER']> 2018-01-08 16:46:20,341 DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] - <Getting FlowDefinition with id 'login'> 2018-01-08 16:46:20,341 DEBUG [org.springframework.webflow.engine.impl.FlowExecutionImplFactory] - <Creating new execution of 'login'> 2018-01-08 16:46:20,341 DEBUG [org.springframework.webflow.engine.impl.FlowExecutionImpl] - <Starting in org.springframework.webflow.mvc.servlet.MvcExternalContext@2a0a6f45 with input map['password' -> 'NEVER', 'auto' -> 'true', 'service' -> 'https://mywsu-test.wichita.edu', 'username' -> 'USER']> 2018-01-08 16:46:20,341 DEBUG [org.springframework.webflow.engine.Flow] - <Creating [FlowVariable@64b7c0f5 name = 'credential', valueFactory = [BeanFactoryVariableValueFactory@af7bf9f type = UsernamePasswordCredential]]> 2018-01-08 16:46:20,342 DEBUG [org.springframework.webflow.execution.ActionExecutor] - <Executing [EvaluateAction@2c19b822 expression = initialFlowSetupAction, resultExpression = [null]]> 2018-01-08 16:46:20,342 DEBUG [org.springframework.webflow.execution.AnnotatedAction] - <Putting action execution attributes map[[empty]]> And 5.2.1 looks like this: 2018-01-04 10:56:48,569 TRACE [org.springframework.web.servlet.DispatcherServlet] - <Testing handler adapter [org.apereo.cas.web.flow.config.CasWebflowContextConfiguration$1@5d112750]> 2018-01-04 10:56:48,569 TRACE [org.springframework.web.servlet.DispatcherServlet] - <Testing handler adapter [org.apereo.cas.web.flow.config.CasWebflowContextConfiguration$1@5d112750]> 2018-01-04 10:56:48,569 TRACE [org.springframework.web.servlet.DispatcherServlet] - <Testing handler adapter [org.apereo.cas.web.flow.config.CasWebflowContextConfiguration$3@46e6bcdd]> 2018-01-04 10:56:48,608 DEBUG [org.springframework.webflow.executor.FlowExecutorImpl] - <Launching new execution of flow 'login' with input map['password' -> 'NEVER', 'auto' -> 'true', 'service' -> 'https://mywsu-dev.wichita.edu', 'username' -> 'USER']> 2018-01-04 10:56:48,608 DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] - <Getting FlowDefinition with id 'login'> 2018-01-04 10:56:48,610 DEBUG [org.springframework.webflow.engine.impl.FlowExecutionImplFactory] - <Creating new execution of 'login'> 2018-01-04 10:56:48,683 DEBUG [org.springframework.webflow.engine.impl.FlowExecutionImpl] - <Starting in org.springframework.webflow.mvc.servlet.MvcExternalContext@374cf64e with input map['password' -> 'NEVER', 'auto' -> 'true', 'service' -> 'https://mywsu-dev.wichita.edu', 'username' -> 'USER']> 2018-01-04 10:56:48,694 DEBUG [org.springframework.webflow.engine.Flow] - <Creating [FlowVariable@10d31474 name = 'credential', valueFactory = [BeanFactoryVariableValueFactory@3b96875 type = UsernamePasswordCredential]]> 2018-01-04 10:56:48,753 DEBUG [org.springframework.webflow.execution.ActionExecutor] - <Executing [EvaluateAction@2053d9ac expression = initialFlowSetupAction, resultExpression = [null]]> 2018-01-04 10:56:48,754 TRACE [org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator] - <Did not attempt to auto-proxy infrastructure class [com.sun.proxy.$Proxy170]> 2018-01-04 10:56:48,754 TRACE [org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator] - <Did not attempt to auto-proxy infrastructure class [com.sun.proxy.$Proxy170]> 2018-01-04 10:56:48,756 DEBUG [org.springframework.webflow.execution.ActionExecutor] - <Executing org.apereo.cas.web.flow.InitialFlowSetupAction@23299e6b> 2018-01-04 10:56:48,770 DEBUG [org.springframework.webflow.execution.ActionExecutor] - <Finished executing org.apereo.cas.web.flow.InitialFlowSetupAction@23299e6b; result = success> 2018-01-04 10:56:48,771 DEBUG [org.springframework.webflow.execution.ActionExecutor] - <Finished executing [EvaluateAction@2053d9ac expression = initialFlowSetupAction, resultExpression = [null]]; result = success> So what changed? Any help would be greatly appreciated. Thanks, Erik Mallory Server Analyst Wichita State University -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/27CA39FA-C380-4B21-9B4F-6B28D311605E%40wichita.edu.
