Putting those binders didn't work for me.......is there any other configuration that i should change?
Thank you so much for the follow-ups. regards, tanura ----- Original Message ----- From: Scott Battaglia To: [email protected] Sent: Friday, July 09, 2010 5:43 AM Subject: Re: [cas-dev] CAS 3.4.2 - REMEMBER ME OPTION In theory yes. You should also be able to remove all of those binders if you want. Check out the Spring Web Flow 2 documentation for the complete details :-) On Thu, Jul 8, 2010 at 2:33 PM, Tanura Vittil <[email protected]> wrote: <binder> <binding property="username" /> <binding property="password" /> <binding property="rememberMe" /> </binder> where rememberMe is the name of the form field in the casloginview.jsp page is it like this? regards, tanura ----- Original Message ----- From: Scott Battaglia To: [email protected] Sent: Thursday, July 08, 2010 9:14 PM Subject: Re: [cas-dev] CAS 3.4.2 - REMEMBER ME OPTION You're only binding two properties. What about the Remember Me property? On Thu, Jul 8, 2010 at 12:57 PM, Tanura Vittil <[email protected]> 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 To: [email protected] 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 <[email protected]> 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] To: [hidden email] 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]> 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 Sent from the CAS Developers mailing list archive at Nabble.com. -- You are currently subscribed to [hidden email] as: [hidden email] 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] as: [hidden email] 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 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 Sent from the CAS Developers mailing list archive at Nabble.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-dev -- 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-dev-- 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-dev -- You are currently subscribed to [email protected] as: [email protected] unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev-- 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-dev -- You are currently subscribed to [email protected] as: [email protected] unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- 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-dev
