"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/server/flask/common.py" between
keystone-15.0.0.tar.gz and keystone-15.0.1.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Stein" series (maintained release).

common.py  (keystone-15.0.0):common.py  (keystone-15.0.1)
skipping to change at line 923 skipping to change at line 923
domain_id = flask.request.args.get('domain_id') domain_id = flask.request.args.get('domain_id')
if domain_id: if domain_id:
return domain_id return domain_id
token_ref = cls.get_token_ref() token_ref = cls.get_token_ref()
if token_ref.domain_scoped: if token_ref.domain_scoped:
return token_ref.domain_id return token_ref.domain_id
elif token_ref.project_scoped: elif token_ref.project_scoped:
return token_ref.project_domain['id'] return token_ref.project_domain['id']
elif token_ref.system_scoped:
return
else: else:
msg = 'No domain information specified as part of list request' msg = 'No domain information specified as part of list request'
tr_msg = _('No domain information specified as part of list ' tr_msg = _('No domain information specified as part of list '
'request') 'request')
LOG.warning(msg) LOG.warning(msg)
raise exception.Unauthorized(tr_msg) raise exception.Unauthorized(tr_msg)
@classmethod @classmethod
def get_token_ref(cls): def get_token_ref(cls):
"""Retrieve KeystoneToken object from the auth context and returns it. """Retrieve KeystoneToken object from the auth context and returns it.
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)