Encryption now enabled by default in nxshell
authorAlex Kirhenshtein <alk@netxms.org>
Wed, 21 Aug 2013 15:03:14 +0000 (15:03 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Wed, 21 Aug 2013 15:03:14 +0000 (15:03 +0000)
src/java/nxshell/src/main/java/org/netxms/Shell.java

index e034be4..01b9241 100644 (file)
@@ -93,7 +93,7 @@ public class Shell {
     }\r
 \r
     private NXCSession connect() throws IOException, NetXMSClientException {\r
-        final NXCSession session = new NXCSession(server, login, password);\r
+        final NXCSession session = new NXCSession(server, NXCSession.DEFAULT_CONN_PORT, login, password, true);\r
         session.connect();\r
         session.syncObjects();\r
         session.syncUserDatabase();\r