The jsp source you're working from predates 3.4.10, you are missing the login
ticket in the hidden fields. When you are submitting back to the flow without
the login ticket the flow is routing back to the login form
Try this for your hidden fields:
<input type="hidden" name="lt" value="${loginTicket}" />
<input type="hidden" name="execution" value="${flowExecutionKey}" />
<input type="hidden" name="_eventId" value="submit" />
-Andrew
On Oct 27, 2011, at 9:06 AM, Vitty, Paul wrote:
> Hi All,
>
> I'm not sure if this is the correct list, but I am developing some custom
> flow logic for use with our install of CAS v3.4.10. Essentially what we want
> is once the user is authenticated, and just before they are issued with an
> ST, a view is displayed with a message and they must click continue. It
> sounds similar to the warn view, but I've yet to implement further logic, but
> it needs to be separate from the warn view.
>
> The problem I am having is that the flow works ok, and displays the required
> view state, however once the user clicks continue the form is submitted
> again, but the web flow is not resumed from where it left off. Below is an
> extract from login-webflow.xml
>
> <decision-state id="warn">
> <if test="flowScope.warnCookieValue" then="showWarningView"
> else="studentHolds" />
> </decision-state>
>
> <view-state id="studentHolds" view="casStudentHoldNotificationView">
> <transition on="submit" to="redirect" />
> </view-state>
>
> Below is the view casStudentHoldNotificationView
>
> <jsp:directive.include file="includes/top.jsp" />
>
> <form:form htmlEscape="true" method="post">
> <input type="hidden" name="lt" value="${flowExecutionKey}" />
> <input type="hidden" name="_eventId" value="submit" />
> <input type="submit" value="Continue" />
> </form:form>
>
> <jsp:directive.include file="includes/bottom.jsp" />
>
> Any help would be greatly appreciated.
>
> Thanks
> Paul Vitty
>
> Apache/MySQL Web Platform Engineer
> Information Services
> University of Ulster
>
> ________________________________
>
> This email and any attachments are confidential and intended solely for the
> use of the addressee and may contain information which is covered by legal,
> professional or other privilege. If you have received this email in error
> please notify the system manager at [email protected] and delete this
> email immediately. Any views or opinions expressed are solely those of the
> author and do not necessarily represent those of the University of Ulster.
> The University's computer systems may be monitored and communications carried
> out on them may be recorded to secure the effective operation of the system
> and for other lawful purposes. The University of Ulster does not guarantee
> that this email or any attachments are free from viruses or 100% secure.
> Unless expressly stated in the body of a separate attachment, the text of
> email is not intended to form a binding contract. Correspondence to and from
> the University may be subject to requests for disclosure by 3rd parties under
> relevant legislation. The University of Ulster was founded by Royal Charter
> in 1984 and is registered with company number RC000726 and VAT registered
> number GB672390524.The primary contact address for the University of Ulster
> in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA
>
> --
> 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