You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wi...@virgilio.it on 2003/01/03 23:40:43 UTC

Re: User Management - which switch in JetspeedSecurity.properties to set ?

That's what i've understood:
you've to set this properties service.PortalAuthentication.classname=your_class_implementing_PortalAuthentication_interface.
Remember that succesful login means no exception thrown, so you don't have
something like an error code on return from failed login.
Infact login() return a JetspeedUser and probably here there is another problem
with what you want to do.
The JetspeedUser returned is initialized with info from user archive, which
by default is a DB.
If you want any user do what he(or she :) ) want to do you need to identify
what user is, bacause the portlet it can use are based on his login(i think).
A possible solution can be to let login() always return the same JetspeedUser
initialized with same info so you can always get the same page with same
portlet.
Then if you want to let he do whatver he want i think you have to implement
PortalAccessController interface and set the properties in JetspeedSecurity.properties
to you class.


This is just an idea.
P.S. Excuse me for my not so good english!!!!!


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>