ironic-lib/ironic_lib/tests
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
..
__init__.py Move tests/ under ironic_lib/, use ostestr 2015-09-30 09:37:17 -07:00
base.py Prevent configuration changes in unit tests from affecting each other 2018-09-27 12:52:31 +02:00
test_base.py Fix pep8 test 2020-05-12 11:35:34 +02:00
test_basic_auth.py Implement Basic HTTP authentication middleware 2020-05-26 10:00:06 +12:00
test_disk_partitioner.py Dependencies and tox.ini clean-up 2020-04-28 13:20:08 +02:00
test_disk_utils.py image_convert: retry resource unavailable and make RLIMIT configurable 2020-05-11 12:09:27 +02:00
test_exception.py Use unittest.mock instead of third party mock 2020-04-18 16:08:20 -05:00
test_mdns.py Use unittest.mock instead of third party mock 2020-04-18 16:08:20 -05:00
test_metrics.py Use unittest.mock instead of third party mock 2020-04-18 16:08:20 -05:00
test_metrics_statsd.py Use unittest.mock instead of third party mock 2020-04-18 16:08:20 -05:00
test_metrics_utils.py Adjust test with option 'backend' 2017-06-16 11:26:02 +08:00
test_utils.py Use unittest.mock instead of third party mock 2020-04-18 16:08:20 -05:00