Updated openstack/openstack
Project: openstack-dev/devstack  121d65023b822fd4285d315386eedd023cbf223e
null
Add 'bc' to files/apts/general

After commit def4c141, "bc" command is used in stack.sh,
but 'bc' command is not available in very minimal Ubuntu
installation (without any tasks installed).
We need to add 'bc' to required package list.

Closes-Bug: #1272914
Change-Id: I5797707e8eaa9dd2a21d1a1fc3af028d1951a2ee
Updated openstack/openstack
Project: openstack/keystone  49bba55d475ab6cb6f9ce9d464f03ca4fe64bc86
null
build auth context from middleware

Refactors the logic where we build the credentials (or auth context), to be
used for authorization decision, from the incoming auth token to be handled by
middleware. The authorization code is isolated into
keystone.common.authorization.

This patch lays the plumbing for bp client-ssl-certificate-authorization.

DocImpact: added a new build_auth_context middleware filter to the API
pipelines in keystone-paste.ini. It is responsible for building the auth
context (a.k.a. policy-check credentials) based on the incoming auth token
to facilitate API authorization. Auth context is required for API
authorization.

Change-Id: Icee58a5bd47b0ded3b53a8838012864c1c0abcc5