Back to index

plone3  3.1.7
Classes | Functions | Variables
PluggableAuthService.plugins.CookieAuthHelper Namespace Reference

Classes

class  ICookieAuthHelper
class  CookieAuthHelper

Functions

def addCookieAuthHelper

Variables

tuple manage_addCookieAuthHelperForm
string BASIC_LOGIN_FORM

Function Documentation

def PluggableAuthService.plugins.CookieAuthHelper.addCookieAuthHelper (   dispatcher,
  id,
  title = None,
  cookie_name = '',
  REQUEST = None 
)
Add a Cookie Auth Helper to a Pluggable Auth Service. 

Definition at line 58 of file CookieAuthHelper.py.

00058 
00059                        ):
00060     """ Add a Cookie Auth Helper to a Pluggable Auth Service. """
00061     sp = CookieAuthHelper(id, title, cookie_name)
00062     dispatcher._setObject(sp.getId(), sp)
00063 
00064     if REQUEST is not None:
00065         REQUEST['RESPONSE'].redirect( '%s/manage_workspace'
00066                                       '?manage_tabs_message='
00067                                       'CookieAuthHelper+added.'
00068                                     % dispatcher.absolute_url() )
00069 


Variable Documentation

Definition at line 266 of file CookieAuthHelper.py.

Initial value:
00001 PageTemplateFile(
00002     'www/caAdd', globals(), __name__='manage_addCookieAuthHelperForm')

Definition at line 49 of file CookieAuthHelper.py.