You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Fabien Guibert <FG...@progi-ouest.fr> on 2004/01/21 12:29:23 UTC

Auto login with URL

Hi all

Does anyone know how to log into Jetspeed with login/password in the URL ?

perhaps something like : 
http://localhost:8080/jetspeed/portal?username=toto&password=tata  ???

My aim is to provide a welcome page, different from the "anon" profile, 
with input areas for login and password
Thx a lot in advance, any help greatly appreciated

RE: Auto login with URL

Posted by Fabien Guibert <FG...@progi-ouest.fr>.
thanks, it works fine. 
I will have a look at Turbine config files.

CU





"Holger Dewes" <h....@insiders.de> 
21/01/2004 13:28
Veuillez répondre à
"Jetspeed Users List" <je...@jakarta.apache.org>


A
"'Jetspeed Users List'" <je...@jakarta.apache.org>
cc

Objet
RE: Auto login with URL






> -----Original Message-----
> From: Fabien Guibert [mailto:FGuibert@progi-ouest.fr] 
> Sent: Wednesday, January 21, 2004 12:29 PM
> To: Jetspeed Users List
> Subject: Auto login with URL
> 
> 
> Hi all
> 
> Does anyone know how to log into Jetspeed with login/password 
> in the URL ?
> 
> perhaps something like : 
> http://localhost:8080/jetspeed/portal?username=toto&password=tata  ???
> 
> My aim is to provide a welcome page, different from the 
> "anon" profile, 
> with input areas for login and password
> Thx a lot in advance, any help greatly appreciated
> 

Keep in mind that the user will still see the anon user page once the
session is expired. If you want to change that behaviour, have a look at
Turbine's TemplateSecureSessionValidator which always redirects to the
Login page if there is no user or the session is expired. In the
JetspeedSessionValidator, the anon user page is shown instead.

Cheers
-- 
Holger Dewes


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



RE: Auto login with URL

Posted by Holger Dewes <h....@insiders.de>.
> -----Original Message-----
> From: Fabien Guibert [mailto:FGuibert@progi-ouest.fr] 
> Sent: Wednesday, January 21, 2004 12:29 PM
> To: Jetspeed Users List
> Subject: Auto login with URL
> 
> 
> Hi all
> 
> Does anyone know how to log into Jetspeed with login/password 
> in the URL ?
> 
> perhaps something like : 
> http://localhost:8080/jetspeed/portal?username=toto&password=tata  ???
> 
> My aim is to provide a welcome page, different from the 
> "anon" profile, 
> with input areas for login and password
> Thx a lot in advance, any help greatly appreciated
> 

Keep in mind that the user will still see the anon user page once the
session is expired. If you want to change that behaviour, have a look at
Turbine's TemplateSecureSessionValidator which always redirects to the
Login page if there is no user or the session is expired. In the
JetspeedSessionValidator, the anon user page is shown instead.

Cheers
-- 
Holger Dewes


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org