Set default identity driver to sql (bug 934332)

Change-Id: Ibc5502f0feb2bcc9583ccd1aa9bf9bd94fef43ca
Improve auth_str_equal().

This patch is to improve auth_str_equal() a bit.  The whole point of
this function is to do a string comparison in constant time to help
protect against timing attacks.  The original implementation had a bit
of a silly property in that it would exit early if the strings were not
of the same length.  This would theoretically still allow someone to
discover the proper length of a password.

This patch moves the length verification to the end.  It also makes it
so the main loop time to run is a function of the provided password
length instead of the length of the shorter of the two strings.

Change-Id: I6dbe076818b7e3e8a313544ebd5c5734b5a025e5
add more default catalog templates

Image, Volume and Ec2 services were missing

Change-Id: I409b0b587b0019dc97bf46760e8f732aa13b88de
Make bind host configurable

* fixes bug 945868

Change-Id: Ib33dc9ad1878a9215c1a1ab10814fa7d0905cbdb
fixes bug lp#948439 belongs_to and serviceCatalog behavior
* removing belongs_to as a kwarg and getting from the context
* adding a serviceCatalog for belongs_to calls to tokens
* adding test to validate belongs_to behavior in tokens

Change-Id: If6f6a7007a6830c57a5ac71aef0090e57a064232
fix Nova Volume Service in sample data

Change-Id: Ic6bb8ddea1ab894076d1580f5dbbe535aa668a8a
HTTP_AUTHORIZATION was used in proxy mode

Change-Id: I72eae79bd1991321eac224777fb186c5022f2c12
Merge "fixes bug lp#948439 belongs_to and serviceCatalog behavior * removing belongs_to as a kwarg and getting from the context * adding a serviceCatalog for belongs_to calls to tokens * adding test to validate belongs_to behavior in tokens"
Merge "Improve auth_str_equal()."
Merge "Set default identity driver to sql (bug 934332)"
fixes lp#949648 change belongsTo validate to name

Change-Id: I3d36290ad95a0440c006e2daff5b831be62957ae
Make sure we have a port number before int it.

- Remove unused auth_location in s3_token along the way.
- Fixes bug 944720.

Change-Id: Ib6e48511d09798868c5ca3fa00472525bc9f8823
Merge "HTTP_AUTHORIZATION was used in proxy mode"
rename belongs_to to belongsTo as per the API spec.

fixes lp#949554

Change-Id: Ia24dda7e9aa8e075861029dd5edeafd01c9d89c2
Merge "fix Nova Volume Service in sample data"
port common policy code to keystone

keystone.common.policy is copied from nova

leave simple backend in as a shim until devstack stops referencing it

Change-Id: Ibd579cfeb99465706d525b6565818a2d8f5f3b7c
Merge "add more default catalog templates"
Fix EC2 credentials crud after policy backend change

https://review.openstack.org/4659 implemented the common policy code
but made a change to the exception thrown by wsgi.Application.assert_admin()
and Ec2Controller._is_admin() needed updating.

Fixes bug 950557

Change-Id: I0e27aeeabd1be5a6012e34aa71efdfc2f2d5a726
create service endpoints in sample data

Enable creation of endpoints by setting ENABLE_ENDPOINTS environment
variable. Works with Catalog SQL backend.

Change-Id: I9ba0ea1b3cf35720fb338e91f48fcbddc326971b
Add AUTHORS to the tarball.

Fixes LP Bug #950998.

Change-Id: Ia521a9d013ef4fb332df4dc5576cc3e5f13651bc