proxmox-backup/src/api2/access
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
..
acl.rs move user configuration to pbs_config workspace 2021-09-10 07:09:04 +02:00
domain.rs start new pbs-config workspace 2021-09-02 12:58:20 +02:00
mod.rs rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
openid.rs rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
role.rs move acl to pbs_config workspaces, pbs_api_types cleanups 2021-09-09 10:50:08 +02:00
tfa.rs move user configuration to pbs_config workspace 2021-09-10 07:09:04 +02:00
user.rs move user configuration to pbs_config workspace 2021-09-10 07:09:04 +02:00