add deprecation warning for auth_token
Change-Id: I1faaae0373a7ae12ee528ab5c71741a2b1122d43 Closes-Bug: 1342274
This commit is contained in:
parent
0a43edc138
commit
5c9b13d4c7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user