aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Security.cxx
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-04-23 14:07:41 +0000
committerAdam Tkac <atkac@redhat.com>2010-04-23 14:07:41 +0000
commita6578bfc986695bf9e5d4272b6d2e57516aa4cbf (patch)
treeff36c03b224765b677ca1c13d670c41d5b47e2c4 /common/rfb/Security.cxx
parent1d15e2d60a171a43c83e51a1343727701ac34f4b (diff)
downloadtigervnc-a6578bfc986695bf9e5d4272b6d2e57516aa4cbf.tar.gz
tigervnc-a6578bfc986695bf9e5d4272b6d2e57516aa4cbf.zip
[Development] Replace SSecurityFactoryStandard class by simplier Security class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4039 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/Security.cxx')
-rw-r--r--common/rfb/Security.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index a38029a5..adc21c99 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -25,7 +25,6 @@
#include <rfb/LogWriter.h>
#include <rfb/Security.h>
#include <rfb/SSecurityNone.h>
-#include <rfb/SSecurityFactoryStandard.h>
#include <rfb/SSecurityVncAuth.h>
#include <rfb/util.h>
@@ -35,9 +34,14 @@ using namespace std;
static LogWriter vlog("Security");
+StringParameter Security::secTypes
+("SecurityTypes",
+ "Specify which security scheme to use (None, VncAuth)",
+ "VncAuth");
+
Security::Security(void)
{
- char *secTypesStr = SSecurityFactoryStandard::sec_types.getData();
+ char *secTypesStr = secTypes.getData();
enabledSecTypes = parseSecTypes(secTypesStr);