aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurityVncAuth.h
Commit message (Collapse)AuthorAgeFilesLines
* Mark overridden virtual functionsPierre Ossman2024-06-241-5/+5
| | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
* Use nullptr in all C++ codePierre Ossman2024-06-241-1/+1
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Move the AccessRights type and constants to the rfb namespaceCarlos Santos2024-04-231-2/+2
| | | | | | | | | They must belong to the rfb namespace, not to the SConnection class. Also add an AccessNone constant, since it's better to use a mnemonic symbol rather than zero to initialize the accessRights members. Signed-off-by: Carlos Santos <casantos@redhat.com>
* Use std::string instead of CharArrayPierre Ossman2023-02-041-4/+3
| | | | | Let's use a more common type instead of something homegrown. Should be more familiar to new developers.
* Use stdint typesPierre Ossman2023-02-011-3/+4
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Change streams to be asynchronousPierre Ossman2020-05-211-1/+0
| | | | | | | | | | Major restructuring of how streams work. Neither input nor output streams are now blocking. This avoids stalling the rest of the client or server when a peer is slow or unresponsive. Note that this puts an extra burden on users of streams to make sure they are allowed to do their work once the underlying transports are ready (e.g. monitoring fds).
* Strongly bind security objects to connection objectPierre Ossman2018-09-211-2/+2
| | | | | There is already an implicit connection between them, so let's make it explicit. This allows easy lookup outside of the processMsg() function.
* Add missing virtual destructorsSteve Kondik2017-07-081-0/+2
| | | | | | | | | | | | | | Fix warnings emitted by Clang: /home/shade/dev/tigervnc/common/rdr/FdInStream.h:30:9: error: 'rdr::FdInStreamBlockCallback' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] class FdInStreamBlockCallback { ^ In file included from /home/shade/dev/tigervnc/common/network/TcpSocket.cxx:44: In file included from /home/shade/dev/tigervnc/common/network/TcpSocket.h:31: /home/shade/dev/tigervnc/common/network/Socket.h:82:9: error: 'network::ConnectionFilter' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] class ConnectionFilter { ^ ..etc
* Update comment of VncAuthPasswdGetter::getVncAuthPasswd.Michal Srb2014-11-241-2/+2
|
* VncAuth: Read and use readonly password.Michal Srb2014-11-101-2/+6
| | | | | Try to read second password (for read only access) from rfbauth file. If client sent second password instead of first one, allow him read only access.
* [Development] Move all VncAuth code from SSecurityFactoryStandard class toAdam Tkac2010-04-231-1/+12
| | | | | | | SSecurityVncAuth class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4036 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename common/rfb/secTypes.{h,cxx} to common/rfb/Security.{h,cxx}.Adam Tkac2010-04-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4033 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+55
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519