# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1241536357 -7200 # Node ID d2ac1d681d7039e16aaab4d10a8fa8b3a4ae96fb # Parent 145af5f29f1287386058e61edf7121f687f5462c delete-trailing-whitespaces diff -r 145af5f29f12 -r d2ac1d681d70 web/views/authentication.py --- a/web/views/authentication.py Tue May 05 17:12:22 2009 +0200 +++ b/web/views/authentication.py Tue May 05 17:12:37 2009 +0200 @@ -1,7 +1,7 @@ """user authentication component :organization: Logilab -:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr """ __docformat__ = "restructuredtext en" @@ -12,11 +12,11 @@ from cubicweb.dbapi import repo_connect, ConnectionProperties from cubicweb.web import ExplicitLogin, InvalidSession from cubicweb.web.application import AbstractAuthenticationManager - + class RepositoryAuthenticationManager(AbstractAuthenticationManager): """authenticate user associated to a request and check session validity""" - + def __init__(self): self.repo = self.config.repository(self.vreg) self.log_queries = self.config['query-log-file']