I have to develop Remember me auto login functionality for the portal site. We are using Liferay6 and want to use Remember me functionality of Liferay. How can I enable it?
And also I have a requirement that if user is logged in using remember me and if he comes on the site after few days and still logged in at that time if user wants to use My Account page to change information we should ask for password again (here My Account page is redirects user to the custom portlet). Now I am not sure how to implement this functionality. How would I come to know that the user is signed in using remember me or signed in as a normal sign in process so that I can define two sub flows for the My Account page.
if signed in using remember me then asked for the password before rendering the My Account page and if signed in through normal authentication process then just show them My Account page.
For those requirements you're going to have to alter the functionality of the portal itself. The best way to do this is to use hooks to change the .jsp pages dealing with the login as well as the code that handles session authentication.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads