On Wed, 17 Jul 2002, Paul Spencer wrote:

> David and Jan,
>
> David Sean Taylor wrote:
>
> >
> >>OK, I'm still unsure about the intended use of logout() on this
> >>interface. Looking at the TurbineAuthentication class leaves me none the
> >>wiser.
> >>
> >>Shouldn't logout() be logout(JetspeedUser user) ?
> >>
> >
> > Yes, I see your point.
> > The default implementation didn't need it, but I could see where it would be
> > required in many implementations.
> > I will add it, thanks
>
> I am unsure of how logout(user) is different then logout(). Can a
> session can be logged many times as different users?

The rest of this interface does a good job of abstracting away the need
to know about Jetspeed (and any other framework it might rely on).
Sessions (or preferably the user associated with the session) should be
passed explicitly to this method rather than relying on the
implementation grovelling around amongst static members somewhere.



-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 [EMAIL PROTECTED]
That which does not kill us goes straight to our thighs.



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

Reply via email to