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"  
/>                            

 

 

-- 
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 cas-user+unsubscr...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to