OpenStack middleware library
Go to file
ramishra da7987ca92 Add new basic auth middleware
This adds a middleware that can be used as an alternative to noauth in
standalone environments.

This middleware uses a password file which supports the Apache htpasswd
syntax. This file is read for every request, so no service restart is
required when changes are made.

The only password digest supported is bcrypt, and the ``bcrypt``
python library is used for password checks since it supports ``$2y$``
prefixed bcrypt passwords as generated by the Apache htpasswd utility.

Adapted from I874783b8ece0eedf27a94dfed5163d0c82f8b9de.

Change-Id: I3d80d86afd063af9fa2f411885dbd0dc65a7bbc7
2021-08-03 16:30:42 +05:30
doc remove unicode from code 2021-01-03 16:18:03 +08:00
oslo [fix-compat] More definitions for oslo.middleware 2015-12-12 19:18:33 +00:00
oslo_middleware Add new basic auth middleware 2021-08-03 16:30:42 +05:30
releasenotes Add new basic auth middleware 2021-08-03 16:30:42 +05:30
.coveragerc Fix coverage configuration and execution 2015-10-05 17:23:48 -04:00
.gitignore ignore reno generated artifacts 2020-09-22 11:18:45 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:39 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
.pre-commit-config.yaml Upgrade the pre-commit-hooks version 2021-05-18 11:15:54 +08:00
.stestr.conf Switch to stestr 2018-07-04 08:20:45 +07:00
.zuul.yaml Add Python3 xena unit tests 2021-04-15 18:23:11 +01:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:26:15 +02:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 23:06:02 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-30 13:45:14 +08:00
requirements.txt Add new basic auth middleware 2021-08-03 16:30:42 +05:30
setup.cfg setup.cfg: Replace dashes with underscores 2021-05-05 10:05:47 +08:00
setup.py remove outdated header 2020-02-10 18:35:35 +01:00
test-requirements.txt Merge "Adding pre-commit" 2020-10-05 16:54:18 +00:00
tox.ini Merge "Use py3 as the default runtime for tox" 2021-04-16 14:26:43 +00:00

README.rst

oslo.middleware

Latest Version

Downloads

Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows. The base class can be enhanced with functionality like add/delete/modification of http headers and support for limiting size/connection etc.