Back to index

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

Classes

class  IHTTPBasicAuthHelper
class  HTTPBasicAuthHelper

Functions

def addHTTPBasicAuthHelper

Variables

tuple manage_addHTTPBasicAuthHelperForm

Function Documentation

def PluggableAuthService.plugins.HTTPBasicAuthHelper.addHTTPBasicAuthHelper (   dispatcher,
  id,
  title = None,
  REQUEST = None 
)
Add a HTTP Basic Auth Helper to a Pluggable Auth Service.

Definition at line 45 of file HTTPBasicAuthHelper.py.

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


Variable Documentation

Initial value:
00001 PageTemplateFile(
00002     'www/hbAdd', globals(), __name__='manage_addHTTPBasicAuthHelperForm' )

Definition at line 38 of file HTTPBasicAuthHelper.py.