Merge "add deprecation warning for auth_token"

This commit is contained in:
Jenkins
2014-07-16 18:20:07 +00:00
committed by Gerrit Code Review

View File

@@ -458,6 +458,10 @@ class AuthProtocol(object):
def __init__(self, app, conf):
self.LOG = logging.getLogger(conf.get('log_name', __name__))
self.LOG.info('Starting keystone auth_token middleware')
self.LOG.warning(
'This middleware module is deprecated as of v0.10.0 in favor of '
'keystonemiddleware.auth_token - please update your WSGI pipeline '
'to reference the new middleware package.')
self.conf = conf
self.app = app