[Grok-dev] Grok UI Manager Logout

paul paul at aptrackers.com
Mon Aug 8 02:44:08 EDT 2011


Hi, Michael

Thanks for the reply.    It's quite possible that the session cookie has 
nothing to do with the manager login, as you say.  It's just that I 
picked up from the Bluebream FAQ that zope3.3 supports logout and that 
it's disabled by default.  The FAQ says that by including

<adapter factory="zope.authentication.logout.LogoutSupported" />

in etc/site.zcml, one can enable logout support.  It's all pretty 
confusing.  A previous version of grok/zope that I used had a logout 
button on the management screen, and that used to work.   I do 
understand that basic auth (not cookie based auth) has no way of knowing 
when the session is closed.  Surely though, even if this is the case, 
one can still _tell_ the session it is closed?

Take care,
Paul

On 07/08/2011 12:31, Michael Jenny wrote:
> Hi Paul,
>
> my plain grok sandbox uses HTTP Basic Auth authentication. The 
> credentials are sent alongside with the headers. As far as I know 
> there's no way to logout from the session when using BasicAuth except 
> starting a new Browser session. So I wonder if the zope session cookie 
> you mentioned has anything to do with the authentication mechanism for 
> the manager principal?!
>
> Best wishes,
> Michael.
>
>
> On Sun, Aug 7, 2011 at 08:20, paul <paul at aptrackers.com 
> <mailto:paul at aptrackers.com>> wrote:
>
>     I was wondering whether there's an easier way to do this.
>
>     Currently, whenever I use the grok UI manager interface, my grok
>     instance remains logged in as manager- so my app PAU instance
>     detects a valid login and doesn't allow me to log out.   I can log
>     out my own users at application level, but since the 'manager'
>     identity is not managed by my own PAU instance, I cannot seem to
>     log out manager.
>
>     Currently, I clear the zope session cookie, close the browser tab,
>     and reload the URL to clear the login.   I'm sure there's an
>     easier way, but after much searching through the web online docs
>     and the zope implementation code, I'm blowed if I know what it is.
>
>     Can someone point me in the right direction?
>
>
>     _______________________________________________
>     Grok-dev mailing list
>     Grok-dev at zope.org <mailto:Grok-dev at zope.org>
>     https://mail.zope.org/mailman/listinfo/grok-dev
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20110808/325e2a54/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prsephton.vcf
Type: text/x-vcard
Size: 448 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20110808/325e2a54/attachment.vcf 


More information about the Grok-dev mailing list