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
Move trusts to extension

Change-Id: I32b32fc5df8d8483ae8e99067f0655c13c6f520b
Add a dereference option for ldap

This allows proper dereferencing of aliased objects in an LDAP tree.

Fixes Bug #1153786

Change-Id: Ia09a99b7bca1ab055eb0c6dfa34138beca15bff0
Rename trust extension (bug 1158980)

Change trust extension from RH-TRUST to OS-TRUST so that the namespace
being used is for OpenStack, as opposed to a contributing company.  This
is also more consistent with namespacing used in other OpenStack APIs.

Some additional discussion about this is in this thread:
http://lists.openstack.org/pipermail/openstack-dev/2013-March/006876.html

Change-Id: I0fd869abe0f527c899808a4dde19dbd1fb6f32cd
Sync with oslo-incubator.

Up to date as of 575e74d352d685773513218a286979bb58920246.

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

Change-Id: Iad8e63ab57c927032e4bafab79c1f22cb485173f
keystone commands don't print any version information

keystone-manage --version and keystone-all --version do
not show any version information. using the commons
version mechanism to set the version number

Fixes bug 1158783

Change-Id: Iade685a060cad8d9b3f2b80089d52faade43aba8
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
Fix test coverage for v2 scoped auth xml response (bug 1160504)

Change-Id: Ida82b8e607ba940efdad9e764d26408d3aaae7a8
Mark sql connection with secret flag

sql connection parameter contains the password in some setups and
marking as secret prevents accidental logging

fixes bug 1160680

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

Change-Id: I9ecb5d945d950e44c918469ab2ae0478e22bc1a8
Share one engine for more than just sqlite in-memory

This fixes both bug 1162857 and bug 1162845.

Change-Id: Ica5155d3ac03779693d2d54d8e02c2a413c3d3ac
Merge "Share one engine for more than just sqlite in-memory"
Fix IBM copyright strings

Update IBM copyright strings to one consistant format

Change-Id: I009fc8f06c1e67295a14d43aa5ed4c84399f1438
Merge "Sync with oslo-incubator."
Merge "Fix IBM copyright strings"
Fix example in documentation.

The example lacked the import of keystone.common.wsgi that could be
misleading for new developers.

Change-Id: I20be59f5792507a775d033867a69d31c5216633c