web/views/sessions.py
changeset 2887 1282dc6525c5
parent 2706 09baf5175196
child 4252 6c4f109c2b03
equal deleted inserted replaced
2886:0b715e732330 2887:1282dc6525c5
    13 
    13 
    14 
    14 
    15 class InMemoryRepositorySessionManager(AbstractSessionManager):
    15 class InMemoryRepositorySessionManager(AbstractSessionManager):
    16     """manage session data associated to a session identifier"""
    16     """manage session data associated to a session identifier"""
    17 
    17 
    18     def __init__(self):
    18     def __init__(self, *args, **kwargs):
    19         AbstractSessionManager.__init__(self)
    19         AbstractSessionManager.__init__(self, *args, **kwargs)
    20         # XXX require a RepositoryAuthenticationManager which violates
    20         # XXX require a RepositoryAuthenticationManager which violates
    21         #     authenticate interface by returning a session instead of a user
    21         #     authenticate interface by returning a session instead of a user
    22         #assert isinstance(self.authmanager, RepositoryAuthenticationManager)
    22         #assert isinstance(self.authmanager, RepositoryAuthenticationManager)
    23         self._sessions = {}
    23         self._sessions = {}
    24 
    24