proxmox-backup/proxmox-rest-server
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
..
src rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
Cargo.toml move normalize_uri_path and extract_cookie to proxmox-rest-server crate 2021-09-21 08:46:41 +02:00