equal
deleted
inserted
replaced
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 |