proxmox-backup/src
Stefan Reiter 26858dba84 server/rest: add ApiAuth trait to make user auth generic
This allows switching the base user identification/authentication method
in the rest server. Will initially be used for single file restore VMs,
where authentication is based on a ticket file, not the PBS user
backend (PAM/local).

To avoid putting generic types into the RestServer type for this, we
merge the two calls "extract_auth_data" and "check_auth" into a single
one, which can use whatever type it wants internally.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-04-08 13:57:57 +02:00
..
api2 tape: add TapeDensity::Unknown 2021-04-08 12:23:54 +02:00
backup backup info: run rustfmt 2021-03-14 19:18:35 +01:00
bin server/rest: add ApiAuth trait to make user auth generic 2021-04-08 13:57:57 +02:00
client vsock_client: support authorization header 2021-04-01 11:09:28 +02:00
config tape: implement LTO userspace driver 2021-04-08 07:28:30 +02:00
pxar pxar: handle missing GROUP_OBJ ACL entries 2021-04-02 11:10:20 +02:00
rrd clippy: more misc fixes 2021-01-26 09:54:55 +01:00
server server/rest: add ApiAuth trait to make user auth generic 2021-04-08 13:57:57 +02:00
tape tape: avoid unneccessary SCSI request in Drop 2021-04-08 11:26:08 +02:00
tools sgutils2: add scsi_mode_sense helper 2021-04-08 07:28:30 +02:00
api2.rs file-restore: add binary and basic commands 2021-04-08 13:57:57 +02:00
auth.rs clippy fixups 2020-10-14 11:20:07 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
backup.rs typo fixes all over the place 2021-03-10 16:39:57 +01:00
buildcfg.rs typo fixes all over the place 2021-03-10 16:39:57 +01:00
client.rs client: add VsockClient to connect to virtio-vsock VMs 2021-02-17 08:15:43 +01:00
config.rs tape: add tape backup job configuration 2021-02-14 10:35:51 +01:00
lib.rs tape: add file format definitions 2020-12-05 10:45:08 +01:00
server.rs server/rest: extract auth to seperate module 2021-04-01 11:26:28 +02:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs tools: add compression module 2021-04-07 12:34:31 +02:00