Hi,
I want a new jsp is displayed after the login screen, but I want to appear
after checking credentials. Specifically, I want to be shown after
authentication and before validation. From this page you must be able to get
the user online.
How I can do?
Right now, I've done in the following way:
...
<view-state id="viewLoginForm" view="casLoginView" model="credentials">
<var name="credentials"
class="org.jasig.cas.authentication.principal.UsernamePasswordCredentials"
/>
<binder>
<binding property="username" />
<binding property="password" />
</binder>
<on-entry>
<set name="viewScope.commandName" value="'credentials'" />
</on-entry>
<transition on="submit" bind="true" validate="true"
to="viewSelectorUJForm">
<set name="flowScope.credentials" value="credentials" />
<evaluate
expression="externalContext.getSessionMap().put('prCredentials',flowScope.cr
edentials)"/>
<evaluate
expression="authenticationViaFormAction.doBind(flowRequestContext,
flowScope.credentials)" />
</transition>
</view-state>
<view-state id="viewSelectorUJForm" view="casSelectUJView" >
<transition on="submit" to="realSubmit"/>
</view-state>
.
But, in this way shows the jsp before authentication.
Thanks.
--
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