Hi everyone, I'm migrating from CAS 4 to CAS 5.0.0 RC3. The problem is when 
I access CAS without a service, I get the following Error:

*"org.springframework.webflow.execution.FlowExecutionException: Exception 
thrown in state 'viewLoginForm' of flow 'login'"*

In the old version, I have something like:

<end-state id="viewGenericLoginSuccess" 
view="externalRedirect:#{flowScope.urlRedirectToMyService}"/>


Now, the login webflow has changed and I can't find the way of doing the 
same thing, which is redirect to a particular service when no service is 
defined. Reading in the webflow documentation I found the following:

*"In the event that no service is submitted to CAS, you may specify a 
default service url to which CAS will redirect. Note that this default 
service, much like all other services, MUST be authorized and registered 
with CAS."*

But I can't make it work, I just put the following line in the 
cas.properties:


cas.view.defaultRedirectUrl=http://myservice.com


To sum up, what I need is: when the user goes to 
*http://mycasserverhost/cas* (without a service), the url will have to end 
up looking like this: *https://**mycasserverhost*
*/cas/login?TARGET=http://mydefaultservice*

Thanks!

-- 
- 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/58d07a99-c32e-4b4d-96b1-68415883539b%40apereo.org.

Reply via email to