Page 1 of 1

forgotPassword server side implementation not in site/core

Posted: Sat Mar 03, 2012 11:58 am
by sai
I am using Broadleaf 1.6.0-M2-SNAPSHOT.

Which version has forgot password / Not regstered yet etc features in login..I find 'profile/login.jsp' in demo project(1.5.4) which seems to have split the register customer and login separately. Which s what I am looking for. I didnot find the /profile/forgotPassword.htm etc in 1.6. I see some in admin but not in site/core.

Please advise.

Re: forgotPassword server side implementation not in site/core

Posted: Wed Mar 07, 2012 10:50 am
by jefffischer
As of 1.6, we are splitting out the codebase into several notable projects. The core remains, but we will be releasing the third party integration modules separately. Of note for you, we have also separated the demo (which includes the forgot password examples you're talking about). You can get the latest demo source at:

https://github.com/BroadleafCommerce/Br ... ceDemoSite

The develop branch has the 1.6 snapshot version.

Re: forgotPassword server side implementation not in site/core

Posted: Thu Mar 08, 2012 12:15 pm
by sai
I tried looking in demo codebase. I see the forgot password examples for Admin portion, which is AdminLoginController injected with AdminSecurityService.

When I look at for site login functionality in demo, I see RegisterCustomerController injected with CustomerService, where I see methods readCustomerByEmail/resetPassword controller. But they are used in controller. In the demo codebase, login.jsp in the 'profile' folder with in 'jsp' folder, does not seem to be used anywhere. The form action is also directed to /loginProcess which I did not see any references or be able connect the dots to see how it might connect to RegisterCustomerController.

Some how to me it felt like incomplete.

I am using 1.6.0-M2-SNAPSHOT and the demo site version I see as 1.6.0-SNAPSHOT. I checkedout demo site from 'branches/develop'.

Can you please correct me if I am looking at right code base, where I can find the code for the site login implementation which has similar way done for admin.

Please advise.

Re: forgotPassword server side implementation not in site/core

Posted: Thu Mar 08, 2012 12:27 pm
by jefffischer
I think I misunderstood or was thinking of something else when I answered before. I don't think we've implemented a forgot password flow for the demo - just the admin. If you wanted this type of behavior in your site, you would need to implement it yourself currently. The code that is used in the admin should certainly be re-usable, since it's all just spring security, and the login for the admin is handled outside of GWT, so the concepts are portable.

Re: forgotPassword server side implementation not in site/core

Posted: Thu Mar 08, 2012 2:32 pm
by sai
Thank you Jeff for clarification

Re: forgotPassword server side implementation not in site/core

Posted: Thu Mar 08, 2012 4:33 pm
by sai
I was wondering if it is scheduled for a release.

Thank you for all the support.