keystone/keystone/tests
Morgan Fainberg 37f59f4b0b Update AuthContextMiddleware to not use token_api
AuthContextMiddleware and the fall-through in the controller base
_build_policy_check_credentials now utilizes the KeystoneToken
model and uses token_provider_api instead of token_api.

In support of this change, the token auth plugin, the auth_context
builder, token bind check, and token controller have all been updated
to utilize the KeystoneToken model. Support for the federation data
has been added to the KeystoneToken model so that it can be used
in the auth context and associated code.

Associated tests that passed a raw token_ref to methods that now
expect the KeystoneToken model have been updated. This includes an
update to the revocation model to guard against users without domain
data (the federated user case).

Change-Id: I81da15137a0ab3778d835c8de1ec8ed9e5b301f6
bp: non-persistent-tokens
2014-08-25 21:11:11 -07:00
..
config_files Standardizing the Federation Process 2014-08-19 09:17:42 -07:00
ksfixtures Keystone service throws error on receiving SIGHUP 2014-08-10 23:36:05 -07:00
tmp Move 'tests' directory into 'keystone' package 2013-08-14 01:30:01 -03:00
unit Update AuthContextMiddleware to not use token_api 2014-08-25 21:11:11 -07:00
__init__.py Reduces the amount of mocked imports for Python 3 2014-07-22 17:15:15 +00:00
core.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
default_catalog.templates Do not use keystone's config for nova's port 2014-07-01 11:03:59 -07:00
default_fixtures.py Very minor cleanup to default_fixtures 2014-03-12 18:09:10 +00:00
fakeldap.py Adding support for ldap connection pooling. 2014-07-23 12:11:48 -07:00
filtering.py Migrate ID generation for users/groups from controller to manager 2014-06-20 12:19:03 -07:00
identity_mapping.py multi-backend support for identity 2014-07-11 20:22:10 +01:00
mapping_fixtures.py Mapping engine does not handle regex properly 2014-05-20 22:58:29 -04:00
matchers.py Fixes an issue with the XMLEquals matcher 2014-08-14 02:28:28 +00:00
rest.py Merge "Fix OAuth1 to not JSON-encode create access token response" 2014-07-08 02:01:03 +00:00
test_associate_project_endpoint_extension.py Refactor existing endpoint filter tests 2014-08-01 13:56:44 -07:00
test_auth.py Update AuthContextMiddleware to not use token_api 2014-08-25 21:11:11 -07:00
test_auth_plugin.py Standardizing the Federation Process 2014-08-19 09:17:42 -07:00
test_backend.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_backend_federation_sql.py Remove unnecessary declaration of CONF 2014-08-13 11:21:08 -04:00
test_backend_id_mapping_sql.py Add identity mapping capability 2014-07-02 11:29:07 +01:00
test_backend_kvs.py Merge "Filter List Regions by 'parent_region_id'" 2014-08-13 21:03:00 +00:00
test_backend_ldap.py Merge "Allow LDAP lock attributes to be used as enable attributes" 2014-08-21 05:43:29 +00:00
test_backend_ldap_pool.py Adding support for ldap connection pooling. 2014-07-23 12:11:48 -07:00
test_backend_rules.py Removal of test .conf files 2014-03-17 00:17:39 -07:00
test_backend_sql.py Create authentication specific routes 2014-08-20 05:01:35 +10:00
test_backend_templated.py Filter List Regions by 'parent_region_id' 2014-08-02 11:27:00 +04:00
test_base64utils.py Fix assertEqual arguments order(auth_plugin, backend, backend_sql, etc) 2014-03-27 10:51:43 -07:00
test_cache.py Replace assertTrue and assertFalse with more suitable asserts 2014-05-26 14:33:18 +04:00
test_cache_backend_mongo.py First real Python 3 tests 2014-04-24 19:27:41 +00:00
test_catalog.py Ignore broken endpoints in get_catalog 2014-06-16 16:38:45 +00:00
test_cert_setup.py Migrate ID generation for users/groups from controller to manager 2014-06-20 12:19:03 -07:00
test_config.py Fix assertEqual arguments order(catalog, cert_setup, etc) 2014-04-03 20:11:29 +09:00
test_content_types.py Update AuthContextMiddleware to not use token_api 2014-08-25 21:11:11 -07:00
test_contrib_s3_core.py Remove vim header 2014-02-08 23:54:04 +08:00
test_contrib_simple_cert.py Allow for multiple PKI Style Providers 2014-06-16 03:07:13 +00:00
test_contrib_stats_core.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_driver_hints.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_ec2_token_middleware.py Update middleware that was moved to keystonemiddleware 2014-07-15 18:11:10 -07:00
test_exception.py Remove unnecessary declaration of CONF 2014-08-13 11:21:08 -04:00
test_hacking_checks.py Adds hacking check for debug logging translations 2014-06-27 01:55:48 +00:00
test_injection.py Fix assertEqual arguments order(catalog, cert_setup, etc) 2014-04-03 20:11:29 +09:00
test_ipv6.py Rename keystone.tests.fixtures 2014-03-25 01:10:54 +00:00
test_keystoneclient.py Merge "Configurable python-keystoneclient repo" 2014-08-26 00:24:12 +00:00
test_keystoneclient_sql.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_kvs.py remove unneeded definitions of Python Source Code Encoding 2014-06-08 16:44:45 +00:00
test_ldap_livetest.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_ldap_pool_livetest.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_ldap_tls_livetest.py Migrate ID generation for users/groups from controller to manager 2014-06-20 12:19:03 -07:00
test_matchers.py Fixes an issue with the XMLEquals matcher 2014-08-14 02:28:28 +00:00
test_middleware.py Fix 500 error if request body is not JSON object 2014-06-18 05:18:39 -04:00
test_no_admin_token_auth.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_notifications.py Add CADF notifications for role assignment create and delete 2014-08-22 15:05:29 -04:00
test_pemutils.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_policy.py Remove unnecessary declaration of CONF 2014-08-13 11:21:08 -04:00
test_revoke.py Revoke by Audit Id / Audit Id Chain instead of expires 2014-08-26 04:02:26 +00:00
test_serializer.py Refactor serializer import to XmlBodyMiddleware 2014-08-07 18:30:31 +02:00
test_singular_plural.py Remove vim header 2014-02-08 23:54:04 +08:00
test_sizelimit.py Fixed the size limit tests in Python 3 2014-05-05 11:27:42 +00:00
test_sql_livetest.py Remove unnecessary declaration of CONF 2014-08-13 11:21:08 -04:00
test_sql_migrate_extensions.py oslo.db implementation 2014-06-20 11:08:21 +03:00
test_sql_upgrade.py Revoke by Audit Id / Audit Id Chain instead of expires 2014-08-26 04:02:26 +00:00
test_ssl.py Rename keystone.tests.fixtures 2014-03-25 01:10:54 +00:00
test_token_bind.py Update AuthContextMiddleware to not use token_api 2014-08-25 21:11:11 -07:00
test_token_provider.py Use functions in oslo.utils 2014-08-09 12:36:09 +00:00
test_url_middleware.py Fixes the order of assertEqual arguments 2014-07-01 07:11:15 +00:00
test_utils.py Fixes the order of assertEqual arguments 2014-07-01 07:11:15 +00:00
test_v2_controller.py Ignoring order of user list in TenantTestCase 2014-06-23 22:02:45 +00:00
test_v3.py Create authentication specific routes 2014-08-20 05:01:35 +10:00
test_v3_auth.py Revoke by Audit Id / Audit Id Chain instead of expires 2014-08-26 04:02:26 +00:00
test_v3_catalog.py Create authentication specific routes 2014-08-20 05:01:35 +10:00
test_v3_controller.py replaced unicode() with six.text_type() 2014-05-26 11:13:03 +02:00
test_v3_credential.py Enable filtering of credentials by user ID 2014-08-19 18:23:38 +04:00
test_v3_federation.py Create authentication specific routes 2014-08-20 05:01:35 +10:00
test_v3_filters.py Migrate ID generation for users/groups from controller to manager 2014-06-20 12:19:03 -07:00
test_v3_identity.py Merge "Add filters to the collections 'self' link" 2014-07-30 21:31:57 +00:00
test_v3_oauth1.py Merge "Fix invalid self link in get access token" 2014-08-03 21:33:43 +00:00
test_v3_os_revoke.py Use functions in oslo.utils 2014-08-09 12:36:09 +00:00
test_v3_policy.py Remove vim header 2014-02-08 23:54:04 +08:00
test_v3_protection.py Enable filtering of credentials by user ID 2014-08-19 18:23:38 +04:00
test_validation.py Initial implementation of validator 2014-07-21 22:51:09 +00:00
test_versions.py Fix version links to docs.openstack.org 2014-05-07 21:45:17 +02:00
test_wsgi.py Keystone service throws error on receiving SIGHUP 2014-08-10 23:36:05 -07:00
utils.py Adds model mixin for {to,from}_dict functionality 2014-02-18 17:24:32 +00:00