rename templated.TemplatedCatalog to templated.Catalog

This addresses a long standing TODO for consistency across catalog
drivers, making it more intuitive to switch drivers.

UpgradeImpact

Change-Id: I109513695e60867d1111795ab958a3cc4240e831
Improve forbidden checks

New functions were created to check 'allowed' access because the previous design
was checking after changes were possibly made.

Changed the unit test to use an already created user to simulate the original
error that was reported.

Change-Id: I9f7e56a5afd9624070fffef6672ef88cd549f210
Closes-Bug: #1174451
Tests initialize database

Many tests (for example the backend_kvs tests) failed to run
individually. This is because the tests made the assumption that
because the system is configured for the KVS (or non-SQL) backend
that the database isn't required. The problem with this assumption
is that different backends can use different storage mechanisms,
and the credential backend only supports SQL. So any test that
requires that backends are loaded is required to initialize the
database.

Change-Id: I109b83bf512598952346bef01dc33c57802c7f60
Remove versionId, versionInfo, versionList from examples

I recall these attributes being discussed at one point
(pre-incubation?), but have never been supported by OpenStack and don't
appear to be defined in any v2.0 WADL/XSD specification.

Change-Id: Ia5b691972c70456e3d62750173e2bfc6e9aec55a
Closes-Bug: 1273831
cleaned up extension development docs

- added a copyright header
- applied the same order of titles/headers used in other docs (typically
  === underline+overline for top level, === underline for second level,
  --- underline for third level, ~~~ underline for fourth level, etc)
- used ``double backticks`` around literals
- removed excessive whitespace
- replaced a plaintext link with an embedded link

Change-Id: Ic2bf8ed65433c82d0bdfb8dc2d8a18a0b62d6c30
deprecate v2.0 API in multiple choice response

Change-Id: I7d6f4056e1451062fdffe1cce209a47689ea5271
Implements: bp deprecated-as-of-icehouse
Fix assignment to not require user or group existence

The assignment code was requiring the existence of users and
groups before performing different operations. With federation,
the users and groups may legitimately not be defined in keystone,
so these checks cannot be done.

Implements: bp no-check-id
Change-Id: Ib9d0188ae2a436617bad90bf936e7b3dbf296885
Make error strings translatable

The error string for failed authentication, and some others, were not
being translated because they were plain strings. This patch makes them
Messages so they can be translated.

Change-Id: Ic480e88793935e9cdd0b163cebe055c9458896ad
Partial-Bug: #1274638
Change Continuous Integration Project link

The Continuous Integration Project link does not exist anymore as such.
Link instead to the documentation about the CI infrastructure.

Closes-Bug: #1274282
Change-Id: Ia69d9a3f89f67acee611222f411019395aa9d41c
Replace urllib/urlparse with six.moves.*

urllib and urlparse are divided to different module in Python 3.
Use six.moves.* to make them on Python 2 and Python 3.

Part of blueprint keystone-py3kcompat

Change-Id: I54d322c51f0f87e3ec00c69016251d6ea5015adb
Sync oslo's policy module

I made some changes to the policy module in oslo to use six.moves.urllib
instead of py3kcompat.urlutils. This change will help us on our way to
being more Python3 friendly.

Our test_policy tests had to be updated because we are stubbing
implementation details in policy.

Change-Id: I23377a4c71f0f0cb58518f0cd5ce341a8a9c4243
Implements: bp keystone-py3kcompat
Merge "Make error strings translatable"
Merge "Sync oslo's policy module"
Fix indentation errors found by Pep8 1.4.6+

As a preparation in order to switch to a newer
Pep8 version in the future, fix the indentation errors
that are missed by Pep8 1.4.5 due to bugs.

Change-Id: I19af0bdc9c3c9681a2bf60eb6d86f45c4fb11bc6
Closes-Bug: #1267994
Load the federation manager

The federation manager should be loaded so as to register it as a
dependency, otherwise it won't be resolved and will fail with an
Unregistered dependency exception.

Change-Id: Icbbb7dd8a02ddd0957fbb978aabd1018875ce104
Closes-Bug: #1275695
Modified keystone endpoint-create default region

The default region is changed from regionOne
to RegionOne

Change-Id: I610174f7c4241ce7405f100e775fd03df676eeac
Closes-Bug: #1252299
Change 'oauth_extension' to 'oauth1_extension'

The documentation uses 'oauth1_extension' but the configuration files
an tests use 'oauth_extension'. This change sets all of them to
oauth1_extension.

Closes-Bug: #1275693
Change-Id: I279f08e262d6f1ae8afea58fd46576e3eabf3875
DocImpact: Extension name has been changed in keystone-paste.ini,
therefore the pipeline may need to be adjusted as well
Add tests to ensure additional remote properties are not validated

The remote property of a mapping rule should have one of the
following combination of properties:
1) any_one_of and type
2) not_any_of and type
3) type
All other combinations should not be valid. This patch adds tests
to ensure the schema validates remote rules correctly.

Change-Id: I663a0b0ab316c4d6338aa0eb34504aa7d5809d5d
Removes duplicate key from test fixtures

Change-Id: I507f880b96dae212da1d464fc70fcb3835c3460a
Removes useless string

Change-Id: Ia19078f6fd3cd2cd0942da10dadf63be8eaef3c8