Not possible to know without knowing what changes you made (and maybe not possible to know even if we do know what changes you made ;-). But if you upgraded from repoze.who version 1.X to repoze.who version 2.X, you might try adding the "auth_tkt" plugin to the authenticators section of your configuration. In r.who 2, the concept of "preauthentication" was abandoned in favor of explicit authentication by the authtkt plugin.
On Sun, 2010-06-20 at 22:18 +1000, Matthew Woolnough wrote: > Hi, > > I've been experimenting with repoze who and what together with Pylons, > and have recently changed my Development Environment (OS & DB- in > hindsight should have done one at a time :p ) and am having trouble > getting the repoze who functioning again. I've got snips below from > the old working version & snips from the new non working version below > that. I appear to authenticate OK & everything is the same on both > servers up until this point. I've noted that there is a > preauthenticated line which does not appear on the new server, but > have no idea where that comes from. > > Any assistance would be appreciated. > > Matt > > > Working (old): > 2010-06-20 21:14:37,735 -- repoze.who request started (/login/welcome_back) -- > 2010-06-20 21:14:37,735 request classification: browser > 2010-06-20 21:14:37,735 identifier plugins registered > [<FriendlyFormPlugin 148867308>, <AuthTktCookiePlugin 148867596>] > 2010-06-20 21:14:37,735 identifier plugins matched for classification > "browser": [<FriendlyFormPlugin 148867308>, <AuthTktCookiePlugin > 148867596>] > 2010-06-20 21:14:37,735 no identity returned from <FriendlyFormPlugin > 148867308> (None) > 2010-06-20 21:14:37,736 identity returned from <AuthTktCookiePlugin > 148867596>: {'tokens': [''], 'timestamp': 1277032477, > 'repoze.who.userid': u'matt', 'userdata': 'userid_type:unicode'} > 2010-06-20 21:14:37,736 identities found: [(<AuthTktCookiePlugin > 148867596>, {'tokens': [''], 'timestamp': 1277032477, > 'repoze.who.userid': u'matt', 'userdata': 'userid_type:unicode'})] > 2010-06-20 21:14:37,736 authenticator plugins registered > [<HTPasswdPlugin 148866028>, > <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at > 0x8df0b8c>] > 2010-06-20 21:14:37,736 authenticator plugins matched for > classification "browser": [<HTPasswdPlugin 148866028>, > <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at > 0x8df0b8c>] > 2010-06-20 21:14:37,736 userid preauthenticated by > <AuthTktCookiePlugin 148867596>: "matt" (repoze.who.userid set) > 2010-06-20 21:14:37,736 identities authenticated: [((0, 0), None, > <AuthTktCookiePlugin 148867596>, {'tokens': [''], 'timestamp': > 1277032477, 'repoze.who.userid': u'matt', 'userdata': > 'userid_type:unicode'}, u'matt')] > > > Not Working (new): > 2010-06-20 21:18:52,206 -- repoze.who request started (/login/welcome_back) -- > 2010-06-20 21:18:52,216 identifier plugins registered: > [<FriendlyFormPlugin 4348580560>, <AuthTktCookiePlugin 4348582416>] > 2010-06-20 21:18:52,216 identifier plugins matched for classification > "browser": [<FriendlyFormPlugin 4348580560>, <AuthTktCookiePlugin > 4348582416>] > 2010-06-20 21:18:52,216 no identity returned from <FriendlyFormPlugin > 4348580560> (None) > 2010-06-20 21:18:52,216 identity returned from <AuthTktCookiePlugin > 4348582416>: {'tokens': [''], 'timestamp': 1277032732, > 'repoze.who.plugins.auth_tkt.userid': u'matt', 'userdata': > 'userid_type:unicode'} > 2010-06-20 21:18:52,217 identities found: [(<AuthTktCookiePlugin > 4348582416>, {'tokens': [''], 'timestamp': 1277032732, > 'repoze.who.plugins.auth_tkt.userid': u'matt', 'userdata': > 'userid_type:unicode'})] > 2010-06-20 21:18:52,217 authenticator plugins registered: > [<HTPasswdPlugin 4348550480>, > <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at > 0x103319cd0>] > 2010-06-20 21:18:52,217 authenticator plugins matched for > classification "browser": [<HTPasswdPlugin 4348550480>, > <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at > 0x103319cd0>] > 2010-06-20 21:18:52,217 no userid returned from <HTPasswdPlugin > 4348550480>: (None) > 2010-06-20 21:18:52,217 no userid returned from > <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at > 0x103319cd0>: (None) > 2010-06-20 21:18:52,217 identities authenticated: [] > _______________________________________________ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev > _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev