Hi, I'm new to CAS and I'm trying to run the OpenID integration as explained at 
https://wiki.jasig.org/display/CASUM/OpenID by downloading CAS Server 3.4.5 and 
attempting to modify the various XML files accordingly. Specifically in 
login-webflow.xml I added the following:

<decision-state id="selectFirstAction">
    <if test="${externalContext.requestParameterMap['openid.mode'] != '' 
&amp;&amp; externalContext.requestParameterMap['openid.mode'] != null}"
        then="openIdSingleSignOnAction"
        else="ticketGrantingTicketExistsCheck" />
</decision-state>


<action-state id="openIdSingleSignOnAction">
        <action bean="openIdSingleSignOnAction" />
        <transition on="success" to="sendTicketGrantingTicket" />
        <transition on="error" to="viewLoginForm" />
        <transition on="warn" to="warn" />
</action-state> 


<action-state id="initialFlowSetup">
    <action bean="initialFlowSetupAction" />
    <transition on="success" to="selectFirstAction" />
</action-state>


Then when I started Tomcat and tried logging in I got the following exception 
in my logs:

org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was 
found starting with element 'action'. One of 
'{"http://www.springframework.org/schema/webflow":attribute, 
"http://www.springframework.org/schema/webflow":secured, 
"http://www.springframework.org/schema/webflow":on-entry, 
"http://www.springframework.org/schema/webflow":evaluate, 
"http://www.springframework.org/schema/webflow":render, 
"http://www.springframework.org/schema/webflow":set, 
"http://www.springframework.org/schema/webflow":transition, 
"http://www.springframework.org/schema/webflow":on-exit, 
"http://www.springframework.org/schema/webflow":exception-handler}' is expected.


I should add in case it's not obvious that I'm entirely new to Spring Web Flow 
as well, though I've worked pretty heavily with other areas of Spring in the 
past. A bit of Googling suggests that perhaps the issue is incompatibility 
between versions of Web Flow, but I don't know where to begin fixing it. Any 
advice would  be appreciated.

thanks,
Dan Dormont
-- 
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