Enable unicode error message

Keystone exceptions could only take byte string message as the
message arguments to construct exception instances because of
the way its super class StandardError implements __unicode__.
This patch can also make sure it would not unintentionally remove
line breaks and indentation in a explicitly given message argument.

Fixs bug #1168879

Change-Id: I7916efc87845cfc4dba705e9474125b275affc13
Replace password to "***" in the debug message

Use regex pattern to replace password to "***" for both env vars and
request body output

Fix bug 1166697

Change-Id: I671ea25cca78b4dea1fbf2e63c89b82912279f2d
Test listing of tokens with a null tenant

Test for fix of bug 1078497

Change-Id: I5cd28b38111f3e80adbb33ef1b1c8db7630d75f8
Documentation about the initial configuration file and sample data.

The initial configuration file and sample data are both are helpful in getting
setup with a keystone development environment.

Change-Id: Ic100177abe8dda1510a183463e61e0b757986e97
Remove unused CONF.pam.url

Change-Id: I77a20d1910063b5cbee601885cd049df86c03752
Fix 403 status response

Fixes Bug1153082

Change-Id: I1305d885751d4fa746e49cd5a76100c1900a9a53
Merge "Remove unused CONF.pam.url"
Merge "Replace password to "***" in the debug message"
A minor refactor in wsgi.py

A minor refactor to move the code up in the file as suggested by termie
and henry regarding the review comments in
https://review.openstack.org/#/c/26487/

Fix bug 1166697

Change-Id: I890415c755dd383749f2d4382f53d0b3a6badc6c
Revoke tokens on user delete (bug 1166670)

Change-Id: Ieeb2246579ddc0608092eed5239258d2b4dbf42b
Merge "A minor refactor in wsgi.py"
Disable eventlet monkey-patching of DNS

This change avoids eventlet's monkey-patching of DNS
resolution. eventlet's doesn't support IPv6, for example.

The way to avoid eventlet's DNS is to set an environment
variable. The trick is the environment variable needs to be set
before eventlet is imported.

A similar change was made in nova, so this is just copying
that code and technique to keystone.

This allows re-enabling the IPv6 tests, too.

Change-Id: I30524a1cebd43580d692fd88ef32be45e62758c5
Set EVENTLET_NO_GREENDNS=yes in tox.ini.

This should allow tests to pass on Centos 6 without
the 6219f94 commit which functionally breaks swift.

Change-Id: I4a6d07abf5159d3daa4c8f9bf94e60d730ccd300
Revert "Disable eventlet monkey-patching of DNS"

This reverts commit 6219f94b3a1103a16bd5f16ed8ffdd41a85280e1.

This commit seems to cause keystone auth to hang when using
Keystone w/ Swift.

Fixes LP Bug #1178646.

Change-Id: Ieb94a29b3129847c84a02c8a526611f125f21ea0
Allow backend & client SQL tests on mysql and pg.

Currently the tables are not created which means that it isn't
possible for these tests to run on anything other than sqlite.

Fix test issues where the token id that is used to create the token is
not the same as the id that the token is saved with.

Fix a number of foreign key constraints issues.

Bug  1178041

Change-Id: Ib67eb97836e4224940abdeae4bba66748bfe4ca5
Fix pyflakes and pep8 in prep for flake8.

Change-Id: Ifc8c876760f8402fc3293326972b9286fb1635c9
Migrate to flake8.

Closes bug 1172444

Change-Id: I4831946d01f05c2a10264745a07b53fa48be44c8
Merge "Enable unicode error message"
Merge "Fix pyflakes and pep8 in prep for flake8."
Merge "Migrate to flake8."