Re: [Zope] how to authenticate myself and how to not

2005-06-09 Thread Lennart Regebro
On 6/9/05, Wim Bekker <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> If I want to edit a page, I have to be authenticated and zope ask me to
> with a login dialog.
> 
> How can I call this dialog from dtml or python? (i want to switch from
> user to another user).

You can't. The idea with authentication is that *you* should identify
yourself. Not the computer. Instead of changing users, the users who
should edit the page, should have the permission to do so.

> And how can I logoff?

If you run internet explorer, you can't. With Firefox, there is a
ZMI-page menu entry "logout". You can use that.

-- 
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] how to authenticate myself and how to not

2005-06-09 Thread Wim Bekker
Hi,

If I want to edit a page, I have to be authenticated and zope ask me to
with a login dialog.

How can I call this dialog from dtml or python? (i want to switch from
user to another user).
And how can I logoff?

Wim 


**DISCLAIMER 
** 
De informatie verzonden met dit e-mail bericht is uitsluitend voor de 
geadresseerde(n). Openbaarmaking, vermenigvuldiging, verspreiding en/of  
verstrekking aan derden is niet toegestaan. Indien U deze e-mail abusievelijk 
heeft ontvangen, verzoeken wij U het e-mail bericht te verwijderen en de 
afzender hiervan op de hoogte te stellen. VDG Nederland bv   sluit iedere 
aansprakelijkheid uit, die voortvloeit uit elektronische verzending. 
The information contained in this communication is intended solely for use of 
the individual or entity to whom it is addressed and others authorized to 
receive it. If you are not the intended recipient you are hereby notified that 
any disclosure, copying,distribution or taking any action in reliance on the 
contents of this information is strictly prohibited. If you are not the 
intended recipient, please delete this message and any attachments and advise 
the sender by return e-mail. VDG Nederland bv  rules out any and every 
liability resulting from any electronic transmission. 
*
 


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )