[Zope] - Forcing re-authentication

John Eikenberry jae@kavi.com
Tue, 26 Jan 1999 11:22:44 -0800 (PST)


On Tue, 26 Jan 1999, Pieter J. Kersten wrote:

> In short it compiles to the following:
> - When a user connects to the application, an authentication is forced and the
> user logs in.
> - After a while, if the user wants to re-authenticate (in order to use a
> different userid), he/she has to close the browser in order to get a new login
> window. 
> 
> This is considered painfull.
> Is there a way to force re-authentication without leaving the browser
> (Mozilla)?

Well, you can always make up a function/method that always raises an
Unauthorized exception. This will bring up the login window, though you'll
have to canel it (even though you kill it, it will clear or change the
uid:pwd info in the browser cache).

---

John Eikenberry
[jae@taos.kavi.com - http://taos.kavi.com/~jae/] 
______________________________________________________________
"A society that will trade a little liberty for a little order
 will deserve neither and lose both."
                                         --B. Franklin