catch errors in wsgi.Middleware.

- Catch errors in wsgi.Middleware like done in wsgi.Applications.
- Add tests for test_middleware.
- Fixes bug 1128379.

Change-Id: I2e95595c392631aebf2682d4506e4dde78cd6d69
residual grants after delete action (bug1125637)

remove all applicable grants when role is deleted
(sql/kvs solution only)

Fixes: bug #1125637
Change-Id: I3a958c6d56739e37a95f6c713fab154827e9ceca
Remove un-needed LimitingReader read() function.

We only need one read function here.

Change-Id: I86533399d33fd5784b8b942acf37ea5c42363236
bug 1159888 broken links in rst doc

Change-Id: Iad8e63ab57c927032e4bafab79c1f22cb485173f
Use string for port in default endpoints (bug 1160573)

Change-Id: I940f331eee14e449333e5d0ba5d071836a496653
close db migration session

Explicitly close sessions in db migration 022. With the postgresql backend
if the session is not closed explicitly it leaves a user of the db behind
which can cause problems later on

Fixes bug #1158544

Change-Id: I389b83397addc5901aa94b584856fbd7f5cef485
Add missing colon for documentation build steps.

Change-Id: I9ecb5d945d950e44c918469ab2ae0478e22bc1a8
Fix 401 status response

Fixes Bug1153718

Change-Id: I18adefdc9cf6cadee6006e9352e872dfb4de7e1d
use the openstack test runner

Change-Id: I9d4d2713da7e14c7875319ccf9302b98f0a30805
don't migrate as often

saves a bunch of time in the tests (the savings are more noticable
if you are not running the integration tests)

before:

Slowest 5 tests took 5.80 secs:
    1.53    TokenExpirationTest.test_maintain_uuid_token_expiration
    1.22    TestTokenRevoking.test_deleting_group_grant_revokes_tokens
    1.08    TestTokenRevoking.test_group_membership_changes_revokes_token
    1.06    IdentityTestCase.test_crud_group_domain_role_grants
    0.92    CatalogTestCase.test_create_endpoint_on_v2
----------------------------------------------------------------------
Ran 1274 tests in 149.136s

OK (SKIP=84)

after:

Slowest 5 tests took 4.82 secs:
    1.53    TokenExpirationTest.test_maintain_uuid_token_expiration
    0.90    TestTokenRevoking.test_deleting_group_grant_revokes_tokens
    0.84    TestTokenRevoking.test_group_membership_changes_revokes_token
    0.78    Kc11TestCase.test_token_expiry_maintained
    0.77    TestTokenRevoking.test_deleting_user_grant_revokes_token
----------------------------------------------------------------------
Ran 1274 tests in 102.986s

OK (SKIP=84)

Change-Id: I1f39ad0412e739a333e4b755ca00a94ccbf400be
stop using time.sleep in tests

we use timeutils.utcnow so that we have an overridable clock just like
in the big leagues, making tests literally sleep just slows us down

Change-Id: I8522aef1fab39a3370448bce779ca69d8f5e07b5
Merge "use the openstack test runner"
Merge "Fix 401 status response"
Clean up duplicate methods

The identity.core.Driver class had a few function definitions
with the same name. Remove duplicates because it's confusing.

Change-Id: I9e4ca8939414091acc0c0eedaf64960a2fb9dad3
clean up invalid variable reference

keystone.auth.controllers.AuthInfo's get_method_data() referenced
a variable that was not defined.

Change-Id: I4171453d5e9843501052c9e395273976255342ad
fix undefined variable

An undefined variable was used in the trust kvs backend, this
fixes it.

Change-Id: I9c25d85ab64afa2bf7639d3fd14a4d6839dacb64
Add TLS Support for LDAP

Fixes Bug1040115

added several test cases, also provides a full ldap
regression suite. Also added supplemental (simple)
verification for CACERTFILE and CACERTDIR
added a TLS disable option when ldaps URLs are used
and did full regression tests using ldaps URLs
and with TLS
addresses ayoung's comments
addresses dolphm's and Mouad's comments
addresses gyee's doc request and bknudson's comments

Change-Id: I639f2853df0ce5c10ae85b06214b26430d872aca
test duplicate name

the test_list_trust_by_trustee method in test_backend is
duplicated. One of them should be test_list_trust_by_trustor.

The original test_list_trust_by_trustee that wasn't run before
had a couple of problems so fixed those, too.

Change-Id: I14759c83c5d4b7387e5d760d8418b889c4522c21
Merge "catch errors in wsgi.Middleware."
Fix for configuring non-default auth plugins properly

Make sure we pick up CONF.auth.methods from configuration
files. Added a test case to make sure the we don't regress

Fixes LP# 1157515

Change-Id: I70290c37b2a5378b5247a14e3bfa20d50bf8fe74