login-webflow.xml:

<action-state id="realSubmit">

    <evaluate
expression="authenticationViaFormAction.submit(flowRequestContext,
flowScope.credentials, messageContext)" />

              

    <transition on="success" to="sendTicketGrantingTicket" />

    <transition on="confirmEULA" to="confirmEULAView" />

    <!-- Other transitions removed for clarity -->

</action-state>

    

<view-state id="confirmEULAView" view="eulaView">

    <transition on="eulaConfirmed" to="sendTicketGrantingTicket"/>

</view-state>

 

eulaView.jsp:

<jsp:directive.include file="includes/top.jsp" />

 

<form:form commandName="confirmEula" method="post">

   <div>

       This is our end user license agreement. Do you agree?

   </div>

  

   <input type="hidden" name="_flowExecutionKey"
value="${flowExecutionKey}" />

   <input type="submit" class="button" name="eulaConfirmed"
value="eulaConfirmed" />

 

</form:form>

 

<jsp:directive.include file="includes/bottom.jsp" />

 

I can transition to the confirmEulaView by throwing an
AuthenticationException whose type is "confirmEULA". I'm seeing my view
correctly, but when I exit the view using this submit button, I get
dumped right back to the login page. What am I doing wrong? Did I miss a
tutorial or documentation for modifying the login flow?

 

Thanks,

Eric


-- 
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

Reply via email to