Yes, you are directed back to the application via the service parameter in
a GET mode. If you need post, specify method=POST to the /login endpoint.
These are still handled by the webflow, but without the need for that
exact class.



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



Hello Misagh!



Thank you for your answer. Yes, I also think the class works exactly as
you described it.



I still have doubts: Will CAS redirect me properly if this is a custom
webflow, not present in the original CAS? Whenever a web-flow finishes,
will CAS detect it and redirect me to the URL of the "service" parameter?
This looks like a lot of magic :)



Thank you,

   Jarda



From: Misagh Moayyed [mailto:[email protected]]
Sent: 15. September 2014 4:53 odp.
To: [email protected] <mailto:[email protected]>
Subject: RE: [cas-user] Replacement for DynamicRedirectViewSelector in CAS
4.x ?



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] <mailto:[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]
<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]
<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