keystone/keystone/token
Morgan Fainberg 4a0f0756d8 Prevent infinite recursion on persistence core on init
Raise an AttributeError for lookup on 'token_provider_api' within the
__getattr__ on the keystone.token.persistence.core.Manager class. The
__getattr__ will be called on dependency injection process dependencies
and attempt to do a lookup on .token_provider_api, which nets an
infinite recursion. If an AttributeError is raised the dependency
processor will set the value correctly. Once the 'token_provider_api'
attribute is set, __getattr__ is no longer called as the value is in
the instantiated object's __dict__.

Change-Id: I4af79f4568429dea27c1e11e5a77cefa5afc792c
Closes-Bug: #1373167
2014-09-23 16:39:54 -07:00
..
backends Move token persistence classes to token.persistence module 2014-07-24 16:03:50 -07:00
persistence Prevent infinite recursion on persistence core on init 2014-09-23 16:39:54 -07:00
providers Safer check for enabled in trusts 2014-09-18 16:46:30 -04:00
__init__.py Move token persistence classes to token.persistence module 2014-07-24 16:03:50 -07:00
controllers.py Safer check for enabled in trusts 2014-09-18 16:46:30 -04:00
core.py Move token persistence classes to token.persistence module 2014-07-24 16:03:50 -07:00
provider.py Merge "Fixes formatting error in debug log statement" 2014-09-10 17:06:17 +00:00
routers.py HEAD responses should return same status as GET 2014-07-08 22:37:44 -07:00