From c314821b9896039cd13231479655251476b60305 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Mon, 07 Apr 2008 09:10:08 +0000
Subject: [PATCH] update ssl configuration

---
 opends/tests/system-tests/phases/parser/parser.py |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/opends/tests/system-tests/phases/parser/parser.py b/opends/tests/system-tests/phases/parser/parser.py
index 2585934..e1bcc81 100755
--- a/opends/tests/system-tests/phases/parser/parser.py
+++ b/opends/tests/system-tests/phases/parser/parser.py
@@ -274,7 +274,7 @@
   "Describes an opends Instance"
   def __init__(self, iid, name, product, role, host, installDir, tarball, \
                portLDAP, portLDAPS, portJMX, portREPL, \
-               securityEnabled, certificate, startTlsEnabled):
+               sslEnabled, certificate, startTlsEnabled):
     # from instance object
     self.iid             = iid
     self.name            = name
@@ -289,7 +289,7 @@
     self.portJMX         = portJMX
     self.portREPL        = portREPL
     self.javaVersion     = NOT_DEFINED
-    self.securityEnabled = securityEnabled
+    self.sslEnabled      = sslEnabled
     self.certificate     = certificate
     self.startTlsEnabled = startTlsEnabled
     
@@ -308,8 +308,8 @@
   def setJavaVersion(self,javaVersion):
     self.javaVersion = javaVersion
     
-  def isSecurityEnabled(self):
-    return self.securityEnabled
+  def isSslEnabled(self):
+    return self.sslEnabled
     
   def getCertificate(self):
     return self.certificate
@@ -589,7 +589,7 @@
   cPortLDAPS       = '1636'
   cPortJMX         = '1390'
   cPortREPL        = '1391'
-  cSecurityEnabled = 'false'
+  cSslEnabled      = 'false'
   cCertificate     = NOT_DEFINED
   cStartTlsEnabled = 'false'
   
@@ -644,7 +644,7 @@
       elif (thisSubChild.getNodeType() == Node.ELEMENT_NODE and
           thisSubChild.getNodeName() == 'security'):
       
-        cSecurityEnabled = _getAttributeNode(thisSubChild,'enabled')
+        cSslEnabled      = _getAttributeNode(thisSubChild,'sslEnabled')
         cCertificate     = _getAttributeNode(thisSubChild,'certificate')
         cStartTlsEnabled = _getAttributeNode(thisSubChild,'startTlsEnabled')
         
@@ -670,7 +670,7 @@
   return [msg,OpendsInstance(cId,cName,cProduct,cRole,cHost,cInstallDir,\
                              opendsZip,\
                              cPortLDAP,cPortLDAPS,cPortJMX,cPortREPL,\
-                             cSecurityEnabled,cCertificate,cStartTlsEnabled)]
+                             cSslEnabled,cCertificate,cStartTlsEnabled)]
 
 
 #============================================================================

--
Gitblit v1.10.0