<div dir="ltr">Hi,<br><div dir="ltr"><div>I'm trying to develope a "remember me" functionality to OpenCms based on cookies and the best practices described here <a href="http://jaspan.com/improved_persistent_login_cookie_best_practice">http://jaspan.com/improved_persistent_login_cookie_best_practice</a>. </div>
<div>Only problem that I have is that I don't know how to login user programatically after it was verified that his cookie is valid. I know that there is method </div><div>loginUser(java.lang.String username, java.lang.String password) on CmsObject. But this requires knowledge of user's password and I don't want to store user's password in the cookie for security reasons, not even if it was hashed. Is there any other way how to login user programatically? Or has anybody tried to create this functionality in the OpenCms?</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Jakub Ječmínek<br>------------------------------------------------<br>NELASOFT Technologies, s.r.o.<br>Mob: +420 604 575 772<br>E-mail: <a href="mailto:jakub.jecminek@nelasoft.cz" target="_blank">jakub.jecminek@nelasoft.cz</a><br>
Web: <a href="http://www.nelasoft.cz/" target="_blank">www.nelasoft.cz</a><br></div><div><br></div></div></div>