Back to index

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

Classes

class  ISessionAuthHelper
class  SessionAuthHelper

Functions

def manage_addSessionAuthHelper

Variables

tuple manage_addSessionAuthHelperForm

Function Documentation

def PluggableAuthService.plugins.SessionAuthHelper.manage_addSessionAuthHelper (   dispatcher,
  id,
  title = None,
  REQUEST = None 
)
Add a Session Auth Helper to a Pluggable Auth Service. 

Definition at line 45 of file SessionAuthHelper.py.

00045 
00046 def manage_addSessionAuthHelper(dispatcher, id, title=None, REQUEST=None):
00047     """ Add a Session Auth Helper to a Pluggable Auth Service. """
00048     sp = SessionAuthHelper(id, title)
00049     dispatcher._setObject(sp.getId(), sp)
00050 
00051     if REQUEST is not None:
00052         REQUEST['RESPONSE'].redirect( '%s/manage_workspace'
00053                                       '?manage_tabs_message='
00054                                       'SessionAuthHelper+added.'
00055                                     % dispatcher.absolute_url() )
00056 


Variable Documentation

Initial value:
00001 PageTemplateFile(
00002     'www/saAdd', globals(), __name__='manage_addSessionAuthHelperForm')

Definition at line 41 of file SessionAuthHelper.py.