mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
authz: delete existing ACL implementation
The 'qemu_acl' type was a previous non-QOM based attempt to provide an authorization facility in QEMU. Because it is non-QOM based it cannot be created via the command line and requires special monitor commands to manipulate it. The new QAuthZ subclasses provide a superset of the functionality in qemu_acl, so the latter can now be deleted. The HMP 'acl_*' monitor commands are converted to use the new QAuthZSimple data type instead in order to provide temporary backwards compatibility. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
committed by
Daniel P. Berrangé
parent
8953caf3cd
commit
b76806d4ec
@ -30,8 +30,8 @@
|
||||
typedef struct VncStateSASL VncStateSASL;
|
||||
typedef struct VncDisplaySASL VncDisplaySASL;
|
||||
|
||||
#include "qemu/acl.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "authz/base.h"
|
||||
|
||||
struct VncStateSASL {
|
||||
sasl_conn_t *conn;
|
||||
@ -60,7 +60,8 @@ struct VncStateSASL {
|
||||
};
|
||||
|
||||
struct VncDisplaySASL {
|
||||
qemu_acl *acl;
|
||||
QAuthZ *authz;
|
||||
char *authzid;
|
||||
};
|
||||
|
||||
void vnc_sasl_client_cleanup(VncState *vs);
|
||||
|
Reference in New Issue
Block a user