0

Jasig CASにいくつかの機能を追加しようとしているので、追加する必要があります

lost_login-webflow.xml :

<flow xmlns="http://www.springframework.org/schema/webflow"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/webflow
                          http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd">
    <var name="lostLoginModel" class="***.*****.LostLoginModel" />

    <view-state id="viewLostLoginForm" view="casLostLoginView"
        model="lostLoginModel">
        <binder>
            <binding property="email" />
        </binder>
        <on-entry>
            <set name="viewScope.commandName" value="'lostLoginModel'" />
        </on-entry>
        <transition on="submit" to="lostLoginSubmit" />
    </view-state>

    <action-state id="lostLoginSubmit">
        <evaluate
            expression="lostLoginAction.submit(flowRequestContext, flowScope.lostLoginModel, messageContext)" />
        <transition on="success" to="viewGenericLoginSuccess" />
        <transition on="error" to="viewServiceErrorView" />
    </action-state>

    <end-state id="viewGenericLoginSuccess" view="casLoginGenericSuccessView" />
    <end-state id="viewServiceErrorView" view="viewServiceErrorView" />
</flow>

私のjspでは、 と を設定<input type="hidden" name="execution" value="${flowExecutionKey}" /><input type="hidden" name="_eventId" value="submit" />ました。

私のビューは URL /lostLoginに十分にロードされていますが、フォームを送信しても何も起こりません... (私のフォームは CAS サーバーのデフォルトのフォームに基づいています)

置き換え<transition on="submit" to="lostLoginSubmit" /><transition on="submit" to="viewGenericLoginSuccess" />も何も起こらない

では、なぜ私はトランジションに行かないのですか?

4

1 に答える 1

0

本当の答えはありませんが、CAS サーバーを 4.0.3 から 4.1.0-RC1 に更新し、移行が開始されました... (Web フロー構成で何も変更しませんでした)

于 2015-08-21T14:33:29.790 に答える