Absolutely that would work. I think I am still doing something wrong though. I have timedOut.html under templates next to casLoginView.html etc. When I redirect to /cas/timedOut.html it gives me a cas page not found page. When I redirect to /timedOut.html it says my page is not found on the server. I could put the page directly on my server, but I would much rather keep it in the cas webapp to make deploying on other servers easier.
Perhaps there is a better way to redirect, I'm upgrading an old version of cas so I may be using an outdated method. I do window.location = myRedirect; in a script in the loginform.html fragment. Where myRedirect is "/cas/timedOut.html". It just goes to https://server/cas/timedOut.html. Thank you for your time, and I apologize I have limited experience with java webflows. On Thu, May 24, 2018 at 11:39 AM, David Curry <[email protected]> wrote: > How strongly do you feel about having "https://server/cas/timeout" as > opposed to "https://server/cas/timeout.html"? > > If you're fine with the latter, you should just be able to drop > "timeout.html" into the same place where all the other casWhateverView.html > pages are and redirect to "/timeout.html". > > Or, since you have access to jQuery and all that good stuff, you could > perhaps do something like: > > $("#cas.login").replaceWith("<h2>Timeout</h2><p>You are too slow. Go > away.</p>"); > > > If you really want the "/cas/timeout" thing, then I believe you'd have to > add it to extend the webflow (or create a new one?). > > Just some ideas... > > -- > > DAVID A. CURRY, CISSP > *DIRECTOR OF INFORMATION SECURITY* > INFORMATION TECHNOLOGY > > 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 > <https://maps.google.com/?q=71+FIFTH+AVE.,+9TH+FL.,+NEW+YORK,+NY+10003&entry=gmail&source=g> > +1 212 229-5300 x4728 • [email protected] > > [image: The New School] > > > On Thu, May 24, 2018 at 3:18 PM Sam Erie <[email protected]> wrote: > >> I am trying to provide a timeout page to redirect to when a timer on my >> login page goes off. I can get it to redirect, but there is no page so it >> just goes to the not found page. Is there an easy way to route an extra >> page so I can go to https://server:8443/cas/timeOut? >> >> Or how would I go about using fragments to show my timeOut.html page? >> >> -- >> - Website: https://apereo.github.io/cas >> - Gitter Chatroom: https://gitter.im/apereo/cas >> - List Guidelines: https://goo.gl/1VRrw7 >> - Contributions: https://goo.gl/mh7qDG >> --- >> 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/CAMM6z%2BJzJRHQPvCm09Wo8M_3% >> 2BL_b1%3DHZCc04bmSROZkiyzE9QQ%40mail.gmail.com >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMM6z%2BJzJRHQPvCm09Wo8M_3%2BL_b1%3DHZCc04bmSROZkiyzE9QQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > 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/CA%2Bd9XAPcBDMjbs76yN0uaLurdd8exn > PLO6QbDMxvfWxLqLmjZg%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAPcBDMjbs76yN0uaLurdd8exnPLO6QbDMxvfWxLqLmjZg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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/CAMM6z%2BL4-h3xAQioCOLCpvJpetAAP%2BVBK6e73oQdT8L0jc%3Di%2Bg%40mail.gmail.com.
