You're only binding two properties.  What about the Remember Me property?

On Thu, Jul 8, 2010 at 12:57 PM, Tanura Vittil <tan...@alwaraq.com> wrote:

>  i tried this link....but it didn't work with me.....
> I tried this : Edited the login-webflow.xml file inside web-inf folder...as
> follows
>
> <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"
> />
>                  -->
>         <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="realSubmit">
>             <set name="flowScope.credentials" value="credentials" />
>             <evaluate
> expression="authenticationViaFormAction.doBind(flowRequestContext,
> flowScope.credentials)" />
>         </transition>
>  </view-state>
>
> And restarted tomcat.
>
> But still the sessions is not remembered after i close all the browsers.
>
> Kindly help me solve this.
>
> regards,
> tanura
>
>
> ----- Original Message -----
> *From:* Scott Battaglia <scott.battag...@gmail.com>
> *To:* cas-dev@lists.jasig.org
> *Sent:* Thursday, July 08, 2010 7:09 AM
> *Subject:* Re: [cas-dev] CAS 3.4.2 - REMEMBER ME OPTION
>
> Check out this thread:
>
> http://jasig.275507.n4.nabble.com/How-to-enable-remember-me-in-CAS-3-4-2-td1744967.html
>
>
> On Wed, Jul 7, 2010 at 11:06 PM, tanura <tan...@alwaraq.com> wrote:
>
>> Thank you so much for the mail.
>> It will be of great help if you can u specify exactly what i should change
>> and in exactly which file?
>>
>> regards,
>> tanura
>>
>>
>>
>>
>>
>> ----- Original Message -----
>> *From:* [hidden email]<http://user/SendEmail.jtp?type=node&node=2281764&i=0>
>> *To:* [hidden email]<http://user/SendEmail.jtp?type=node&node=2281764&i=1>
>> *Sent:* Thursday, July 08, 2010 6:09 AM
>> *Subject:* Re: CAS 3.4.2 - REMEMBER ME OPTION
>>
>> Search the list archives. The only configuration that is slightly
>> different is how Spring Web Flow 2 allows you to define the domain class (in
>> Web Flow 2 its done in the flow. Â Just replace the
>> UsernamePasswordCredentials with the RememberMe ones)
>>
>>
>>  On Wed, Jul 7, 2010 at 12:24 AM, tanura <[hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=2281740&i=0&by-user=t>
>> > wrote:
>>
>>>
>>> Hello !
>>>
>>> I am using cas 3.4.2 version. It works fine ......except the remember me
>>> option.
>>> I see that the documentation of the remember-me option is outdated.
>>> Can anyone help me to implement the remember-me option in cas 3.4.2
>>>
>>> Thanks in advance
>>>
>>> tanura
>>>
>>> --
>>> View this message in context:
>>> http://jasig.275507.n4.nabble.com/CAS-3-4-2-REMEMBER-ME-OPTION-tp2280460p2280460.html<http://jasig.275507.n4.nabble.com/CAS-3-4-2-REMEMBER-ME-OPTION-tp2280460p2280460.html?by-user=t&by-user=t>
>>> Sent from the CAS Developers mailing list archive at Nabble.com.
>>>
>>> --
>>> You are currently subscribed to [hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=2281740&i=1&by-user=t>as: 
>>> [hidden
>>> email] <http://user/SendEmail.jtp?type=node&node=2281740&i=2&by-user=t>
>>>
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>>
>>
>> --
>>
>> You are currently subscribed to [hidden email] 
>> <http://user/SendEmail.jtp?type=node&node=2281740&i=3&by-user=t> as: [hidden 
>> email] <http://user/SendEmail.jtp?type=node&node=2281740&i=4&by-user=t>
>>
>>
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>
>>
>>
>> ------------------------------
>> View message @
>> http://jasig.275507.n4.nabble.com/CAS-3-4-2-REMEMBER-ME-OPTION-tp2280460p2281740.html<http://jasig.275507.n4.nabble.com/CAS-3-4-2-REMEMBER-ME-OPTION-tp2280460p2281740.html?by-user=t>
>> To unsubscribe from CAS 3.4.2 - REMEMBER ME OPTION, click here.
>>
>>
>> ------------------------------
>> View this message in context: Re: CAS 3.4.2 - REMEMBER ME 
>> OPTION<http://jasig.275507.n4.nabble.com/CAS-3-4-2-REMEMBER-ME-OPTION-tp2280460p2281764.html>
>>
>> Sent from the CAS Developers mailing list 
>> archive<http://jasig.275507.n4.nabble.com/CAS-Developers-f253502.html>at 
>> Nabble.com.
>>
>> --
>> You are currently subscribed to cas-dev@lists.jasig.org as: 
>> scott.battag...@gmail.com
>>
>>
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>
>>
> --
> You are currently subscribed to cas-dev@lists.jasig.org as: tan...@alwaraq.com
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
> --
> You are currently subscribed to cas-dev@lists.jasig.org as: 
> scott.battag...@gmail.com
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to