ironic-lib/ironic_lib
Steve Baker a9abc5699f Implement Basic HTTP authentication middleware
This middleware is added to ironic-lib so that it can eventually be
used by ironic and ironic-inspector as an alternative to noauth in
standalone environments.

This middleware is passed a path to a file which supports the
Apache htpasswd syntax[1]. 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.

[1] https://httpd.apache.org/docs/current/misc/password_encryptions.html
Needed-By: https://review.opendev.org/727467
Needed-By: https://review.opendev.org/729463

Change-Id: I874783b8ece0eedf27a94dfed5163d0c82f8b9de
Story: 2007656
Task: 39740
2020-05-26 10:00:06 +12:00
..
common Remove translation of log messages 2017-03-21 12:12:56 -07:00
tests Implement Basic HTTP authentication middleware 2020-05-26 10:00:06 +12:00
__init__.py Initial commit for ironic-lib 2015-02-26 04:15:08 -08:00
auth_basic.py Implement Basic HTTP authentication middleware 2020-05-26 10:00:06 +12:00
disk_partitioner.py Add logic to create PReP partition for ppc64* arch 2018-07-16 14:26:50 +00:00
disk_utils.py image_convert: retry resource unavailable and make RLIMIT configurable 2020-05-11 12:09:27 +02:00
exception.py Implement Basic HTTP authentication middleware 2020-05-26 10:00:06 +12:00
mdns.py Merge "Stop using six library" 2019-12-11 18:32:06 +00:00
metrics.py Bump hacking to 3.0.0 2020-03-30 11:34:27 +02:00
metrics_statsd.py Convert str to bytes for py3 socket compatibility 2020-04-10 10:41:06 -05:00
metrics_utils.py Stop using six library 2019-12-06 01:49:46 +01:00
utils.py Bump hacking to 3.0.0 2020-03-30 11:34:27 +02:00
version.py Add framework for doc building in ironic-lib 2016-08-18 09:14:52 -07:00