Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 04803f90cc7cd93bc4ef66b0ef45b4353926c8ef
https://github.com/tribe29/checkmk/commit/04803f90cc7cd93bc4ef66b0ef45b4353…
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