Catch the socket exception and log it.

Closes-Bug: #1186394
Change-Id: I8aefe54deaa44427c6bb92cf439545e94902fb52
Treats OS-KSADM:password as password in v2 APIs

The OS-KSADM Extension documentation uses OS-KSADM:password
instead of password in some of its examples.  This makes
those examples work.

Change-Id: Ibdfab0b9f085548a86eb391e7dc3b279dfc7b420
Fixes-Bug: #1226466
Adds identity v2 tests to show extra behavior

The v2 API uses name instead of username for the user entity.  This will
change soon to match the spec.  Theses tests will ensure the existing
behavior isn't broken.

Change-Id: Ic6830976f246f707c8b7ef8e92a1697d19fdfe67
Related-Bug: #1214686
Adds tests for user extra attribute behavior

Extra attributes (not directly defined on the model) are stashed away
in a JSON blob.  When returning a user entity they are pulled from the
blob and added directly to the entity.

Change-Id: Ic85b692dda2530efa2ef9833a8a8eed0b12bc7fb
Related-Bug: #1214686
Remove unused config option auth_admin_prefix

The auth_admin_prefix was registered but never used. This change
removes it.

Change-Id: I22dd8454f10b79c57819e64bf0a274ce25b66d18
Remove unused DEFAULT_DOMAIN variable

The keystone.identity.backends.ldap.DEFAULT_DOMAIN
variable wasn't used.

The keystone.assignment.backends.ldap.DEFAULT_DOMAIN
was used, but should not have been, because we've
got a keystone.assignment.core.DEFAULT_DOMAIN.

Change-Id: I0f4bb0bd953a9ced8c3dfc46ea44ff0e377db082
Move fakeldap to tests

fakeldap is only used for testing, so it should be in keystone.tests.

Change-Id: Ifff8a6e7cce76e528aa72e5a3a2e7d0fcc69396b
Adds decorator to deprecate functions and methods

This will be use to implement bp deprecate-v2-api.

Change-Id: I361ac1c472f6eb9b865a2190fee7d33f5022b24a
Merge "Move fakeldap to tests"
Merge "Treats OS-KSADM:password as password in v2 APIs"
Merge "Adds decorator to deprecate functions and methods"
Merge "Adds identity v2 tests to show extra behavior"
remove 8888 port in sample_data.sh

Swift now doesn't use 8888 port as any default service. And the origin
sample_data.sh always let new users to fail and modify swift bind port.
So switching 8888 port here to 8080 could generate sample data without
any change for building swift + keystone environment.

Closes-Bug: #1244304
Change-Id: If58f9f025f57565733aa25efc2fdf06865781391
Update my mailmap

Using new email adress.

Change-Id: Ib1b1be0fe7bba90a9cb2d401a82417b5008add44
Document tox instead of run_tests.sh

Change-Id: Ib4619240c27b0dfe861c9297b64e6d52cdde8944
Closes-Bug: 1244605
Merge "Adds tests for user extra attribute behavior"
Use abstract base class for token driver

Use the abc module for managing abstract base classes in the driver
layer and add missing methods to concrete classes.

bp abstract-base-class-drivers
fixes bug: 1227507

Change-Id: Ie8ebef10d1d0363813a07766433e18793fe448da
Use abstract base class for policy driver

Use the abc module for managing abstract base classes in the driver
layer.

bp abstract-base-class-drivers

Change-Id: I33da50d35c932399aaec8e005215a0f8e7e2acdc
Use abstract base class for oauth driver

Use the abc module for managing abstract base classes in the driver
layer.

bp abstract-base-class-drivers

Change-Id: I8c9b095ee012a4faca90ed026cea846b7d178dc2
Use abstract base class for endpoint_filter driver

Use the abc module for managing abstract base classes in the driver
layer.

bp abstract-base-class-drivers

Change-Id: I0222f062adde75cdb53015f6b908a15f9f438b98