Why not simply write a custom SessionValidator that logs in as "anon"/"anon"
is use is not authenticated and has not given any login/password ?

Check Turbine documentation on how to use the SessionValidator and 
AccessController classes.

> -----Message d'origine-----
> De : Joe Barefoot [mailto:[EMAIL PROTECTED]]
> Envoy� : mardi 10 d�cembre 2002 03:14
> � : Jetspeed Users List (E-mail)
> Cc : Sangam Dash
> Objet : log in user programmatically (was Anybody Knows?)
> 
> 
> I don't know what's wrong either, Sangam, it works fine for 
> me...has anyone else tried programmatically logging in a user 
> using a JSP/Servlet?
> 
> FYI, this is what he's trying to do (I do this with Jetspeed 
> integrated into our web app., and it works, but doesn't for 
> Sangam for some reason...could be some sort of 
> session-related issue?):
> 
> Jetspeed layout page has link -> JSP/Servlet (logs in user) 
> -> Jetspeed home page (for user just logged-in)
> 
> 
>   
> > >>>
> > >>Thanks a lot for the help
> > >>now clients and partners and other users can login
> > >>but once they login how to control them so that they cant add new 
> > >>portlets to the pages as these are for the general clients 
> > not for a 
> > >>particular client
> > >>do you know how to do that?
> > >>thanks
> > >>sangam dash
> > >>
> > >>
> > >>    
> > >>
> > >
> > >  
> > >
> > Hi
> > 
> > in the login.jsp if i use your code
> > both the time it gives me username and password as anon anon
> > i dont know whats wrong
> > if you can think of something please let me know
> > sangam dash
> > 
> > 
> > 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to