Excellent ! Thanks Scott
So, in order to activate the remember me feature you just have to
change the var variable in login-webflow.xml:
<view-state id="viewLoginForm" view="casLoginView" model="credentials">
<!-- remember me credentials -->
<var name="credentials"
class="org.jasig.cas.authentication.principal.RememberMeUsernamePasswordCredentials"/>
<!-- Simple credentials
<var name="credentials"
class="org.jasig.cas.authentication.principal.UsernamePasswordCredentials" />
-->
[...]
</view-state>
PS : the list is spamed ?..?
2010/4/2 Scott Battaglia <[email protected]>:
> We've switched to Web Flow 2. The only thing you need to do is replace the
> UserNamePasswordCredential class in the action defined for the login view to
> the RememberMe one.
> Cheers,
> Scott
>
> On Tue, Mar 30, 2010 at 5:47 AM, Bill Li <[email protected]> wrote:
>>
>> The doc is outdated:
>> http://www.ja-sig.org/wiki/display/CASUM/Remember+Me
>>
>> org.jasig.cas.web.flow.AuthenticationViaFormAction was changed
>> dramatically, it no long accept validator?
>>
>> --
>> Bill Li(李保存)
>> http://BaliOnWeb.com
>>
>> --
>> 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
--
Jérôme Rautureau
Développeur Systèmes - CdA La Rochelle
--
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