on 11-08-2016 11:58 AM
Hello,
I want to implement below functionality:
"if user logs into b2c storefront with remember me checkbox as checked in, and log out and go back to login page then We need to populate only the user name in login form"
Since Hybris already provides rememeber me(Soft login) support but I could not find Remember-me checkbox in login.tag file.
So I added remember me checkbox and tried but it didnt work. [JSP Code: ]
Can anyone help me with end-to-end steps(JSP, JAVA and XML) required to achieve the above functionality?
My Debug Observation: 1. Remember me cookie is getting created but its getting deleted on logout(not sure if this is the issue and how to avoid if yes)
Hey,
Take a look to this wiki page. https://wiki.hybris.com/display/accdoc50to56/Spring+Security#SpringSecurity-RememberMe
Best, Juanma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There will be AcceleratorRememberMeServices
in your storefront extension which is extending AbstractRememberMeServices
class, you can find logout method in AbstractRememberMeServices
which is cancelling cookie on logout, you can override the logout/cancelCookie method for custom behavior.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.