Fixes bug 996922
This commit adds a user_crud module that can be used in the public wsgi
pipeline, currently the only operation included allows a user to update
their own password.
In order to change their password a user should make a HTTP PATCH to
/v2.0/OS-KSCRUD/users/<userid>
with the json data fomated like this
{"user": {"password": "DCBA", "original_password": "ABCD"}}
in addition to changing the users password, all current tokens
will be cleared (for token backends that support listing) and
a new token id will be returned.
Change-Id: I0cbdafbb29a5b6531ad192f240efb9379f0efd2d
- Make it consistent between the source documentation and the rst
documentation.
- Note about the default being https.
Change-Id: Ic78ef79198eee9b514bb52fce12d7224e9ab65ae
- Implements blueprint swift-middleware-add-overrides-feature.
- Let other middleware do authentication for certain request allow
tempurl or formpost to temporary allow access for certain object and do
the validation in there.
Change-Id: I4f5bcb5832f96ced2c6c10d565737ae894771690
Bug: 966749.
* doc/sources/configuration.rst
(user-create): The optional argument name is tenant_id.
Change-Id: Ibb10c608779c0df74f22c50b99a7ffc3900f1782
- Cleanups.
- Remove reference about config admin_username/password/token.
- Return proper http error on errors.
- Add unittests (skip them for now when swift is not installed).
- Fixes bug 956983.
Change-Id: I392fc274f3b01a5a0b5779dd13f9cd3b819ee65a
- Avoid confusing by using the authtoken name for auth_token middleware.
- Improve swift_auth middleware doc.
Change-Id: I287860eba067b99a1d89f8f17200820340836ff9
* Nova now ships with nova.api.auth.NovaKeystoneContext
* Nova does not depend on either of the middlewares being removed
Change-Id: I9546e5c84ea1453f5dfd2dd7bf9924ccda57f87a
Similar to the other APIs, this creates a Driver class that describes
expected functionality of the catalog driver and raises NotImplemented
accordingly. NotImplementedError()'s are caught and returned as proper
501s instead of AttributeErrors.
Also fixes some inconsistent paramters names in the sql backend.
Fixes bug 954087
Update: Convert usage of NotImplementedError() to new
keystone.exception.NotImplemented() for all
unimplemented driver actions.
Change-Id: I69d8e21a6f651e69b724ec5ed5784645bad80c00
Fixed the subcommands and basic misconfiguration mentioned in bug #948211
Note: deleted the old commands after the review comments.
Change-Id: I2a8491c35f346d120581156ae1743d07c3c11fd0