web/views/authentication.py
changeset 10331 6f25c7e4f19b
parent 10042 3e010722c071
child 10370 480187dd66b3
equal deleted inserted replaced
10330:6c12264b3f18 10331:6f25c7e4f19b
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    24 from logilab.common.decorators import clear_cache
    24 from logilab.common.decorators import clear_cache
    25 from logilab.common.deprecation import class_renamed
    25 from logilab.common.deprecation import class_renamed
    26 
    26 
    27 from cubicweb import AuthenticationError, BadConnectionId
    27 from cubicweb import AuthenticationError, BadConnectionId
    28 from cubicweb.view import Component
    28 from cubicweb.view import Component
    29 from cubicweb.dbapi import _repo_connect, ConnectionProperties
       
    30 from cubicweb.web import InvalidSession
    29 from cubicweb.web import InvalidSession
    31 from cubicweb.web.application import AbstractAuthenticationManager
    30 from cubicweb.web.application import AbstractAuthenticationManager
    32 
    31 
    33 class NoAuthInfo(Exception): pass
    32 class NoAuthInfo(Exception): pass
    34 
    33