Back to index

plone3  3.1.7
Classes | Functions | Variables
PlonePAS.plugins.cookie_handler Namespace Reference

Classes

class  ExtendedCookieAuthHelper

Functions

def manage_addExtendedCookieAuthHelper

Variables

tuple manage_addExtendedCookieAuthHelperForm = DTMLFile("../zmi/ExtendedCookieAuthHelperForm", globals())

Detailed Description

Class: ExtendedCookieAuthHelper

Simply extends the standard CookieAuthHelper provided via regular
PluggableAuthService but overrides the updateCookie mechanism to
provide similar functionality as CookieCrumbler does... by giving
the portal the ability to provide a setAuthCookie method.

$Id$

Function Documentation

def PlonePAS.plugins.cookie_handler.manage_addExtendedCookieAuthHelper (   self,
  id,
  title = '',
  RESPONSE = None,
  kw 
)
Create an instance of a extended cookie auth helper.

Definition at line 28 of file cookie_handler.py.

00028 
00029                                        RESPONSE=None, **kw):
00030     """Create an instance of a extended cookie auth helper.
00031     """
00032 
00033     self = self.this()
00034 
00035     o = ExtendedCookieAuthHelper(id, title, **kw)
00036     self._setObject(o.getId(), o)
00037     o = getattr(aq_base(self), id)
00038 
00039     if RESPONSE is not None:
00040         RESPONSE.redirect('manage_workspace')


Variable Documentation

tuple PlonePAS.plugins.cookie_handler.manage_addExtendedCookieAuthHelperForm = DTMLFile("../zmi/ExtendedCookieAuthHelperForm", globals())

Definition at line 41 of file cookie_handler.py.