Hello, I have the same problem. Did you manageto solve it a the end?
Thank you, Yann Le lundi 22 février 2016 20:27:58 UTC+1, Yan Zhou a écrit : > > Hi there, > > > > With CAS4 + Overlay, I want to create a separate webflow when user wants > to reset password (without going through login flow). Such as > https://xxxx/cas/resetpassword. > > > > I am having trouble mapping URL /resetpassword to this new flow. This > could be a spring web flow issue, since I am new to it. > > > > Registration is successful, but when I type the URL, it goes to /login > page. There is not anything in the log indicating that it attempts to map > the request to my new flow. > > > > Did I miss something? > > Yan > > > > 2016-02-22 14:12:55,763 DEBUG > [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] > - Registering flow definition 'ServletContext resource > [/WEB-INF/webflow/resetpassword/resetpassword-webflow.xml]' under id > 'resetpassword' > > > > I created a cas-servlet-extension.xml and have content like this. It is > loaded successfully but does not do anything. > > > > <bean id="resetPasswordFlowHandlerMapping" > class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping" > > p:flowRegistry-ref="resetPasswordFlowRegistry" > p:order="3"> > > <property name="interceptors"> > > <array > value-type="org.springframework.web.servlet.HandlerInterceptor"> > > <ref bean="localeChangeInterceptor" /> > > </array> > > </property> > > </bean> > > > > <webflow:flow-executor id="resetPasswordFlowExecutor" > flow-registry="resetPasswordFlowRegistry"> > > <webflow:flow-execution-attributes> > > <webflow:always-redirect-on-pause value="false" /> > > <webflow:redirect-in-same-state value="false" /> > > </webflow:flow-execution-attributes> > > </webflow:flow-executor> > > > > <webflow:flow-registry id="resetPasswordFlowRegistry" > flow-builder-services="builder" base-path="/WEB-INF/webflow"> > > <webflow:flow-location-pattern > value="/resetpassword/*-webflow.xml"/> > > </webflow:flow-registry> > > > > <bean id="resetPasswordHandlerAdapter" > class="org.springframework.webflow.mvc.servlet.FlowHandlerAdapter" > > p:flowExecutor-ref="resetPasswordFlowExecutor" > /> > > > > > -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- 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/4baf553f-ed79-4ca2-b8c1-6bdd66a2e43f%40apereo.org.
