proxmox-backup/src
Dietmar Maurer 36b7085ec2 rest server: cleanup auth-log handling
Handle auth logs the same way as access log.
- Configure with ApiConfig
- CommandoSocket command to reload auth-logs "api-auth-log-reopen"

Inside API calls, we now access the ApiConfig using the RestEnvironment.

The openid_login api now also logs failed logins and return http_err!(UNAUTHORIZED, ..)
on failed logins.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-21 08:46:41 +02:00
..
acme acme: nit code cleanup 2021-07-03 21:44:13 +02:00
api2 rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
backup move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server workspace 2021-09-21 08:46:41 +02:00
bin rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
config avoid type re-exports 2021-09-14 08:35:43 +02:00
rrd more api type cleanups: avoid re-exports 2021-09-10 12:25:32 +02:00
server rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
tape avoid type re-exports 2021-09-14 08:35:43 +02:00
tools move normalize_uri_path and extract_cookie to proxmox-rest-server crate 2021-09-21 08:46:41 +02:00
auth_helpers.rs start new pbs-config workspace 2021-09-02 12:58:20 +02:00
auth.rs more api type cleanups: avoid re-exports 2021-09-10 12:25:32 +02:00
lib.rs move client to pbs-client subcrate 2021-07-19 12:58:43 +02:00