diff options
author | Zuul <zuul@review.opendev.org> | 2021-10-26 16:20:36 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-10-26 16:20:36 +0000 |
commit | b75a7184d9b88a152402673d39c67c8a8e74bb2c (patch) | |
tree | 14daa47739107bdca288f5343ed6d8f97f3d7a1f | |
parent | 02d9a22267790785fe00777f8bde08a8503fc40a (diff) | |
parent | 8e47bfc77c37610e0da577f13d7a3eb7894139a0 (diff) | |
download | oslo-middleware-4.5.0.tar.gz |
Merge "Add paste.filter_factory entrypoint for basic auth middleware"4.5.0
-rw-r--r-- | oslo_middleware/__init__.py | 4 | ||||
-rw-r--r-- | setup.cfg | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/oslo_middleware/__init__.py b/oslo_middleware/__init__.py index ea1c12d..3966cde 100644 --- a/oslo_middleware/__init__.py +++ b/oslo_middleware/__init__.py @@ -10,7 +10,8 @@ # License for the specific language governing permissions and limitations # under the License. -__all__ = ['CatchErrors', +__all__ = ['BasicAuthMiddleware', + 'CatchErrors', 'CorrelationId', 'CORS', 'Debug', @@ -20,6 +21,7 @@ __all__ = ['CatchErrors', 'RequestBodySizeLimiter', 'SSLMiddleware'] +from oslo_middleware.basic_auth import BasicAuthMiddleware from oslo_middleware.catch_errors import CatchErrors from oslo_middleware.correlation_id import CorrelationId from oslo_middleware.cors import CORS @@ -43,6 +43,7 @@ paste.app_factory = healthcheck = oslo_middleware:Healthcheck.app_factory paste.filter_factory = + basic_auth = oslo_middleware:BasicAuthMiddleware.factory catch_errors = oslo_middleware:CatchErrors.factory correlation_id = oslo_middleware:CorrelationId.factory cors = oslo_middleware:CORS.factory |