David Sean Taylor wrote:

>>Can a cookie(s) be used to automatically login a user?  This
>>makes using
>>Jetspeed as the user "homepage" convenient.
>>
> 
> Yes. Do you use excite or any of the other popular personal portals (yahoo)?
> Im using MyExcite, and it always remembers to log me in to my personalized
> page automatically.
> I believe you just need to set a cookie with a long expiration time (or no
> expiration).
> The servlet cookie api is very easy.
> This can be an option in Jetspeed - I just need to give it some thought as
> to how it is configured and where the code should go.
> Maybe in the JRP, something like:
> 
> logon.automatic=true
> 
> Any ideas?


You just need an alternate login action that sets a cookie with a uid/auth token
(or simply uid if you don't care about security) and modify the sessionValidator
to automatically log you in if you have the cookie set. Pretty easy really.


--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to