From 555815a4e3e14c67ac00130f7affa0138ff47d20 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 2 Dec 2014 15:13:22 +0100 Subject: Make sure attributes propagate through security wrappers Both SSecurityVeNCrypt and SSecurityStack are wrappers around other security objects, so they need to delegate the properties of those sub-objects properly. --- common/rfb/SSecurityStack.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/rfb/SSecurityStack.h') diff --git a/common/rfb/SSecurityStack.h b/common/rfb/SSecurityStack.h index c80a3b9f..dd743d28 100644 --- a/common/rfb/SSecurityStack.h +++ b/common/rfb/SSecurityStack.h @@ -31,6 +31,7 @@ namespace rfb { virtual bool processMsg(SConnection* cc); virtual int getType() const { return type; }; virtual const char* getUserName() const; + virtual SConnection::AccessRights getAccessRights() const; protected: short state; SSecurity* state0; -- cgit v1.2.3