Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
PlonePAS.plugins.crumbler.CookieCrumblingPlugin Class Reference
Inheritance diagram for PlonePAS.plugins.crumbler.CookieCrumblingPlugin:
Inheritance graph
Collaboration diagram for PlonePAS.plugins.crumbler.CookieCrumblingPlugin:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def extractCredentials

Public Attributes


Static Public Attributes

string meta_type = 'Cookie Crumbling Plugin'
tuple security = ClassSecurityInfo()

Private Member Functions

def _getCC

Detailed Description

Multi-plugin for injecting HTTP Basic Authentication
credentials from form credentials.

Definition at line 52 of file

Constructor & Destructor Documentation

def PlonePAS.plugins.crumbler.CookieCrumblingPlugin.__init__ (   self,
  title = None 

Definition at line 60 of file

00061     def __init__(self, id, title=None):
00062         self._setId(id)
00063         self.title = title

Here is the call graph for this function:

Member Function Documentation

Definition at line 64 of file

00065     def _getCC(self):
00066         return getattr(aq_base(self), CC_ID, None)

Here is the caller graph for this function:

Extract basic auth credentials from 'request'.

Definition at line 68 of file

00069     def extractCredentials(self, request):
00070         """ Extract basic auth credentials from 'request'.
00071         """
00073         try:
00074             self._getCC().modifyRequest(request, request.RESPONSE)
00076         except Exception, e:
00077             import logging
00078             logger = logging.getLogger('Plone')
00079             logger.error("PlonePAS error: %s", e, exc_info=1)
00081         return {}
00083 classImplements(CookieCrumblingPlugin,
00084                 IExtractionPlugin)
00086 InitializeClass(CookieCrumblingPlugin)

Here is the call graph for this function:

Member Data Documentation

string PlonePAS.plugins.crumbler.CookieCrumblingPlugin.meta_type = 'Cookie Crumbling Plugin' [static]

Definition at line 56 of file

tuple = ClassSecurityInfo() [static]

Definition at line 58 of file

Definition at line 62 of file

The documentation for this class was generated from the following file: