OpenStack Identity (Keystone)
Go to file
Boris Bobrov c885eeed34 Verify that user is trustee only on issuing token
get_token_data is used to gather various data for token. One of the
checks it does is verifying that the authenticated user is a trustee.
Before Fernet, it was used during token issuing.

Impersonation in trusts substitutes information about user in token,
so instead of trustee, trustor is stored in token.

With Fernet tokens, get_token_data is used during token validation.
In case of impersonation, user_id, stored in Fernet token, is id of
the trustor, but the check described needs this id to be id of the
trustee.

Move the check to happen only on token issuing.

Change-Id: I7c02cc6a1dbfe4e28d390960ac85d4574759b1a8
Closes-Bug: 1524849
2015-12-14 21:35:59 +03:00
config-generator switch to oslo.cache 2015-10-15 11:10:34 -04:00
doc Merge "Update docs for legacy keystone extensions" 2015-12-09 21:37:50 +00:00
etc Updating sample configuration file 2015-12-10 12:50:58 +00:00
examples/pki Correct bashate issues in gen_pki.sh 2015-10-20 10:40:10 -05:00
httpd Merge "Document httpd for accept on /identity, /identity_admin" 2015-10-08 05:09:18 +00:00
keystone Verify that user is trustee only on issuing token 2015-12-14 21:35:59 +03:00
rally-jobs [rally] remove deprecated arg 2015-10-29 16:34:58 +02:00
releasenotes Merge "Ensure endpoints returned is filtered correctly" 2015-12-10 00:52:45 +00:00
tools Merge "Remove all traces of oslo incubator" 2015-08-25 07:32:45 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:27:58 +00:00
.gitignore Add reno for release notes management 2015-11-10 16:10:00 -05:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 14:48:03 -04:00
.mailmap update mailmap with gyee's new email 2015-11-03 16:12:01 -08:00
.testr.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2015-05-16 14:55:07 +00:00
HACKING.rst Use oslo.log instead of incubator 2015-02-14 05:34:52 +00:00
LICENSE Added Apache 2.0 License information. 2012-02-15 17:48:33 -08:00
MANIFEST.in Update MANIFEST.in 2015-06-28 11:01:35 -05:00
README.rst Replace github reference by git.openstack.org and change a doc link 2015-05-07 10:08:10 +08:00
babel.cfg setting up babel for i18n work 2012-06-21 18:03:09 -07:00
bandit.yaml Enable try_except_pass Bandit test 2015-10-15 12:56:35 -05:00
requirements.txt Updated from global requirements 2015-11-27 22:37:58 +00:00
setup.cfg remove version from setup.cfg 2015-12-03 06:19:12 +00:00
setup.py Updated from global requirements 2015-09-17 12:12:39 +00:00
test-requirements.txt Updated from global requirements 2015-12-06 10:39:59 +00:00
tox.ini Create V9 Role Driver 2015-12-08 23:21:24 -05:00

README.rst

OpenStack Keystone

Keystone provides authentication, authorization and service discovery mechanisms via HTTP primarily for use by projects in the OpenStack family. It is most commonly deployed as an HTTP interface to existing identity systems, such as LDAP.

Developer documentation, the source of which is in doc/source/, is published at:

http://docs.openstack.org/developer/keystone/

The API specification and documentation are available at:

http://specs.openstack.org/openstack/keystone-specs/

The canonical client library is available at:

https://git.openstack.org/cgit/openstack/python-keystoneclient

Documentation for cloud administrators is available at:

http://docs.openstack.org/

The source of documentation for cloud administrators is available at:

https://git.openstack.org/cgit/openstack/openstack-manuals

Information about our team meeting is available at:

https://wiki.openstack.org/wiki/Meetings/KeystoneMeeting

Bugs and feature requests are tracked on Launchpad at:

https://bugs.launchpad.net/keystone

Future design work is tracked at:

http://specs.openstack.org/openstack/keystone-specs/#identity-program-specifications

Contributors are encouraged to join IRC (#openstack-keystone on freenode):

https://wiki.openstack.org/wiki/IRC

For information on contributing to Keystone, see CONTRIBUTING.rst.