summaryrefslogtreecommitdiffstats
path: root/ui/vnc-ws.c
diff options
context:
space:
mode:
authorDaniel P. Berrange2016-02-18 19:40:24 +0100
committerDaniel P. Berrangé2019-02-26 16:32:19 +0100
commitb76806d4ec5c55d36bf5508f1405d132a4b862de (patch)
tree557e23fb1865a42a0e68fd45603788e2f8aa380c /ui/vnc-ws.c
parentauthz: add QAuthZPAM object type for authorizing using PAM (diff)
downloadqemu-b76806d4ec5c55d36bf5508f1405d132a4b862de.tar.gz
qemu-b76806d4ec5c55d36bf5508f1405d132a4b862de.tar.xz
qemu-b76806d4ec5c55d36bf5508f1405d132a4b862de.zip
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>
Diffstat (limited to 'ui/vnc-ws.c')
-rw-r--r--ui/vnc-ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vnc-ws.c b/ui/vnc-ws.c
index 950f1cd2ac..95c9703c72 100644
--- a/ui/vnc-ws.c
+++ b/ui/vnc-ws.c
@@ -62,7 +62,7 @@ gboolean vncws_tls_handshake_io(QIOChannel *ioc G_GNUC_UNUSED,
tls = qio_channel_tls_new_server(
vs->ioc,
vs->vd->tlscreds,
- vs->vd->tlsaclname,
+ vs->vd->tlsauthzid,
&err);
if (!tls) {
VNC_DEBUG("Failed to setup TLS %s\n", error_get_pretty(err));