To automatically redirect, you can turn on service redirects in the LogoutController and provide a service parameter.
-Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Wed, Jan 14, 2009 at 3:33 PM, Andrew Feller <[email protected]> wrote: > Jin, > > The HTTP Referer is an optional CGI variable as it solely depends on > whether > the web browser tells you it or not. > > If you want users to be redirected back to the application they logged out > of, then you need to alter the logout links in those applications to take > advantage of the 'url' query string parameter in the call to /logout. If a > value is specified, then the default UI behavior is to show a link > mentioning it is suggested the user go there. You can alter the JSP used > for logout to automatically redirect them instead. > > HTH, > A- > > > On 1/14/09 2:24 PM, "auron" <[email protected]> wrote: > > > > > Hi all, > > > > I have a quick question. We currently use CAS and our setup is as > follows: > > > > cas.mysite.com > > app1.mysite.com > > app2.mysite.com > > > > both app1 and app2 use cas.mysite.com to authenticate. Our users have > been > > complaining that when they press logout, there is no "Home" link or > "Return > > to Home Page" link so that they can quickly re-login (many users use the > > same computer). > > > > I tried to implement this by using request.getHeader("Referer") but it is > > returning null (I think our firewall is blocking it). My question is, is > > there any JSP variables in CAS that you can use to know the referring > server > > URL that called logout? That way, I can make a distinction between app1 > and > > app2 and the "Home" link can change dynamically as necessary. > > > > Thanks! > > Jin > > -- > Andrew Feller, Analyst > LSU University Information Services > 200 Frey Computing Services Center > Baton Rouge, LA 70803 > Office: 225.578.3737 > Fax: 225.578.6400 > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas >
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
