on 2018 Mar 20 11:18 PM
My requirement is to redirect to sign-in if session expires in Hyrbris 6.6. How can this be achieved ? Any details about this is appreciated.
Request clarification before answering.
Hi Pavan,
For hybris elements this functionality is provided OOTB. For any custom additions you can add @RequireHardLogin on controller methods. When method with this annotation is called, if there is no session the user will be redirected to the login page.
You can set the session timeout in properties file like described here (default being 1 hour): https://help.hybris.com/6.6.0/hcd/8c005cde86691014a49ce1de22f3897f.html
Hope this helps and Best Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 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.