Hi I have one web application and two instances: prod and dev running
on two different ports

When I switch my browser from one to the other port, I have to
relogin, but
AuthTktCookiePlugin  remember my old login on the other instance and
request.identity['user']==None and  request.identity['groups'] but
also  request.identity['permissions'] == ()
I need to cleanup my cookies cache to solve the probleme.

TG should handle this situation !

Here is the log

23:55:25,841 INF [auth] -- repoze.who request started (/login_handler)
--
23:55:25,841 INF [auth] request classification: browser
23:55:25,842 INF [auth] identifier plugins registered
[<FriendlyFormPlugin 156451276>, <AuthTktCookiePlugin 156451244>]
23:55:25,842 INF [auth] identifier plugins matched for classification
"browser": [<FriendlyFormPlugin 156451276>, <AuthTktCookiePlugin
156451244>]
23:55:25,842 DEB [auth] identity returned from <FriendlyFormPlugin
156451276>: {'login': u'[email protected]', 'password': u'secret'}
23:55:25,843 DEB [auth] identity returned from <AuthTktCookiePlugin
156451244>: {'tokens': [''], 'timestamp': 1298847304,
'repoze.who.userid': u'[email protected]', 'userdata':
'userid_type:unicode'}
23:55:25,843 DEB [auth] identities found: [(<FriendlyFormPlugin
156451276>, {'login': u'[email protected]', 'password':
u'secret'}), (<AuthTktCookiePlugin 156451244>, {'tokens': [''],
'timestamp': 1298847304, 'repoze.who.userid': u'[email protected]',
'userdata': 'userid_type:unicode'})]
23:55:25,843 INF [auth] authenticator plugins registered
[<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at
0x953418c>]
23:55:25,843 INF [auth] authenticator plugins matched for
classification "browser":
[<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at
0x953418c>]
23:55:25,843 INF [auth] userid preauthenticated by
<AuthTktCookiePlugin 156451244>:
"[email protected]" (repoze.who.userid set)
23:55:25,846 DEB [auth] userid returned from
<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at
0x953418c>: "[email protected]"
23:55:25,846 DEB [auth] identities authenticated: [((0, 0), None,
<AuthTktCookiePlugin 156451244>, {'tokens': [''], 'timestamp':
1298847304, 'repoze.who.userid': u'[email protected]', 'userdata':
'userid_type:unicode'}, u'[email protected]'), ((0, 1),
<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at
0x953418c>, <FriendlyFormPlugin 156451276>, {'login':
u'[email protected]', 'password': u'secret', 'repoze.who.userid':
u'[email protected]'}, u'[email protected]')]
23:55:25,853 INF [auth] User belongs to the following groups: ()
23:55:25,853 INF [auth] User has the following permissions: ()
23:55:25,854 INF [auth] static downstream application replaced with
302 Found

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to