Spring error upon use of RedirectView aftercasLoginGenericSuccessView

Dale Ogilvie Dale.Ogilvie at trimble.co.nz
Thu Jan 10 18:56:51 EST 2008


What a useful mailing list this is!
 
Thanks for that, changing the default generic login success page was on
my TODO list as well.
 
But one question, how would one have figured out how to do this without
being told?

________________________________

From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu]
On Behalf Of Scott Battaglia
Sent: Friday, 11 January 2008 12:03 p.m.
To: Yale CAS mailing list
Subject: Re: Spring error upon use of RedirectView
aftercasLoginGenericSuccessView


You can try defining it as part of the end-state.  Something like

<end-state id= "viewGenericLoginSuccess" view="externalRedirect
:http://www.example.com" />

-Scott


On Jan 10, 2008 2:20 PM, Andrew R Feller < afelle1 at lsu.edu
<mailto:afelle1 at lsu.edu> > wrote:


	Once I reconfigured all successful generic CAS logins to be
redirect to a URL via the RedirectView class, I noticed an issue with
the parameters passed in the query string to the external URL.  I have
copied the configuration and resulting URL below.

	 

	Does anyone have any idea why this would be caused?

	 

	Thanks,

	Andrew

	 

	 

	View configuration

	
========================================================================
=================================

	
casLoginGenericSuccessView.(class)=org.springframework.web.servlet.view.
RedirectView

	casLoginGenericSuccessView.url=https://example.lsu.edu/Desktop

	 

	 

	Resulting redirect

	
========================================================================
=================================

	
https://example.lsu.edu/Desktop?service=&flowExecutionContext=%5BInactiv
e+execution+of+%27login-webflow%27%5D&warnCookieValue=false&ticketGranti
ngTicketId=TGT-1-fGvGcdeKPe4oWiyxEHZnChE56qdrWFbacKL-examplesso.lsu.edu 

	 

	 

	Andrew R Feller, Analyst

	University Information Systems

	200 Fred Frey Building

	Louisiana State University

	Baton Rouge, LA, 70803

	(225) 578-3737 (office)

	 


	_______________________________________________
	Yale CAS mailing list
	cas at tp.its.yale.edu
	http://tp.its.yale.edu/mailman/listinfo/cas 
	
	




-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080111/f00c2fb4/attachment.html 


More information about the cas mailing list