Back to index

plone3  3.1.7
base.py
Go to the documentation of this file.
00001 from zope.interface import implements
00002 from plone.session.interfaces import ISessionSource
00003 
00004 class BaseSource(object):
00005     implements(ISessionSource)
00006 
00007     def __init__(self, context):
00008         self.context=context
00009 
00010 
00011     def createIdentifier(self, userid):
00012         raise NotImplemented
00013 
00014 
00015     def verifyIdentifier(self, identifier):
00016         raise NotImplemented
00017 
00018 
00019     def extractLoginName(self, identifier):
00020         raise NotImplemented
00021 
00022 
00023     def invalidateSession(self, principal):
00024         return False
00025