Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 4b78af1643d59c6563215e1c151d7ef92ce1b2fc
https://github.com/tribe29/checkmk/commit/4b78af1643d59c6563215e1c151d7ef92…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-03-15 (Tue, 15 Mar 2022)
Changed paths:
M cmk/gui/login.py
M cmk/gui/type_defs.py
M cmk/gui/wsgi/applications/rest_api.py
M cmk/gui/wsgi/auth.py
M cmk/gui/wsgi/type_defs.py
Log Message:
-----------
Clean up auth type handling
* Use common AuthType in GUI and REST API code
* Consolidate "web_server" and "webserver"
* Introduced "bearer" auth type for the REST API. Us this one instead of
"automation" and "cookie" depending on the type of the user that
authenticated. The auth type is about how a user authenticated and not
about the type of user. In this scheme the "bearer" type is a better
fit.
Change-Id: I80a67fe59a613d1b3f289aa26f954946ad81d90b