I am reading the class right, looks like that particular selector used to
determine how the flow control should be handled back to the application,
whether it's a POST, etc. If so, you no longer need it. CAS through other
means either redirects you back to the app, or directs you to a POST view
where data is posted back to the app.



From: Jaroslav Kacer [mailto:[email protected]]
Sent: Monday, September 15, 2014 6:18 AM
To: [email protected]
Subject: [cas-user] Replacement for DynamicRedirectViewSelector in CAS 4.x
?



Hello everyone!



I'd like to ask whether there is a replacement for class
org.jasig.cas.web.flow.DynamicRedirectViewSelector in CAS 4.x.

I have a custom webflow in our CAS 3.x, which depends on this class. And
now I am migrating this webflow to CAS 4.0.



I have an end state which has a view defined using the selector:

<end-state id="successRedirect" view="bean:dynamicRedirectViewSelector"/>



And the bean is defined like this:

<bean id="dynamicRedirectViewSelector"
class="org.jasig.cas.web.flow.DynamicRedirectViewSelector"/>



I have found that the interface ViewSelector (implemented by
DynamicRedirectViewSelector) from Spring WebFlow 1.x has also been
removed. In the WebFlow XSD, I found that a view factory from Spring
WebFlow 2.x can be used instead: For exotic usages, you may plug in a
custom ViewFactory bean you define: #{myCustomViewFactory}.



So, I'd like to ask:

1.       Is there a direct replacement for DynamicRedirectViewSelector
that could be used right away?

2.       If not, is implementing a custom ViewFactory a viable way to
achieve what DynamicRedirectViewSelector did before?



Thank you very much for your answers!



Best Regards,

  Jarda



--------------------------------------------------

Jaroslav Kačer

IDC | Application Developer

Phone: +420723914123

Mail: [email protected] <mailto:[email protected]>




--
You are currently subscribed to [email protected]
<mailto:[email protected]>  as: [email protected]
<mailto:[email protected]>
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to