Re: [Repoze-dev] security changes...

2009-05-26 Thread Wichert Akkerman
Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal on subsequent requests def forget(): Return a set of headers suitable for 'forgetting' the current user

Re: [Repoze-dev] security changes...

2009-05-26 Thread Chris McDonough
On 5/26/09 1:50 AM, Malthe Borch wrote: 2009/5/25 Chris McDonoughchr...@plope.com: So to the end of breaking them apart, I just wrote up a bit of science fiction in code form. Could you take a look at the below and let me know what you think? It's very clear. Cool. I've implemented

Re: [Repoze-dev] security changes...

2009-05-26 Thread Wichert Akkerman
Previously Chris McDonough wrote: On 5/26/09 3:52 AM, Wichert Akkerman wrote: Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal on subsequent requests def forget():

Re: [Repoze-dev] security changes...

2009-05-26 Thread Chris McDonough
On 5/26/09 4:07 AM, Chris McDonough wrote: On 5/26/09 3:52 AM, Wichert Akkerman wrote: Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal on subsequent requests def

Re: [Repoze-dev] security changes...

2009-05-26 Thread Wichert Akkerman
Previously Chris McDonough wrote: On 5/26/09 4:07 AM, Chris McDonough wrote: On 5/26/09 3:52 AM, Wichert Akkerman wrote: Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal

Re: [Repoze-dev] security changes...

2009-05-26 Thread Chris McDonough
On 5/26/09 4:16 AM, Wichert Akkerman wrote: Previously Chris McDonough wrote: On 5/26/09 3:52 AM, Wichert Akkerman wrote: Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal on

Re: [Repoze-dev] security changes...

2009-05-26 Thread Chris McDonough
On 5/26/09 4:20 AM, Wichert Akkerman wrote: from repoze.bfg.security import logout def someview(context, request): response = render_template_to_response('some.pt') logout(response) return response vs. from repoze.bfg.security import forget def someview(context,

Re: [Repoze-dev] security changes...

2009-05-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal on subsequent requests def forget(): Return

[Repoze-dev] Job vacancy

2009-05-26 Thread Malthe Borch
For those in the need of a getaway, there's an interesting opening in the unlikely place of Nairobi, Kenya: http://tinyurl.com/oaa8zu. It's zope 3 (are we allowed to say that?), wsgi, rdb and all that jazz. \malthe ___ Repoze-dev mailing list