Trenton, Thanks for bring this issue to cas-user. A JIRA issue and pull request are highly encouraged.
Best, Bill On Tue, Sep 10, 2013 at 12:00 PM, Trenton D. Adams <[email protected]> wrote: > Hi Guys, > > Am I missing something? It seems like the CAS confirm view is in fact not > working. All I get is a page that says "Click here to go to the > application", but it doesn't actually work, as no service is incorporated. > > The login-webflow.xml has this... > <decision-state id="warn"> > <if test="flowScope.warnCookieValue" then="showWarningView" > else="redirect" /> > </decision-state> > > and this... > <end-state id="showWarningView" view="casLoginConfirmView" /> > > But, the JSP file has a reference to ${param.service} which is empty, and > the ${serviceTicketId}, which is set. So, without a service, the link does > not work. > > Besides, the ticket should NOT be included, as it will expire if the user > sits there for too long. Instead, another link to CAS, with the service > url, should be provided. > > I have confirmed the following to work in my own pre-service page of sorts; > I have other specific requirements though, so I'm not putting this in the > casConfirmView.jsp. > > <div class="info"> > <c:url var="serviceUrl" value="/login"> > <c:if test="${service != null}"> > <c:param name="service" value="${service.id}"/> > </c:if> > </c:url> > <c:url var="newPasswordUrl" value="${passwordUrl}"> > <c:if test="${service != null}"> > <c:param name="service" value="${service.id}"/> > </c:if> > </c:url> > <c:url var="newPasswordUrl" value="/login"> > <c:param name="service" value="${newPasswordUrl}"/> > </c:url> > <p class="error-box warning"> > We have detected that your password will soon expire. You may > <a href="${newPasswordUrl}">change your password now</a> or > <a href="${serviceUrl}">continue</a> to the service you were accessing. > </p> > </div> > > We will be providing English only, so we didn't bother to internationalize. > > -- > Trenton D. Adams > Senior Systems Analyst/Web Software Developer > Navy Penguins at your service! > Athabasca University > (780) 675-6195 > :wq! > > -- > This communication is intended for the use of the recipient to whom it > is addressed, and may contain confidential, personal, and or privileged > information. Please contact us immediately if you are not the intended > recipient of this communication, and do not copy, distribute, or take > action relying on it. Any communications received in error, or > subsequent reply, should be deleted or destroyed. > --- > > -- > 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 -- 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
