SCOUT-126, using putAll rather then dropping the existing properties.

git-svn-id: https://svn.apache.org/repos/asf/juddi/scout/trunk@1239994 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java b/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java
index 95b7826..cca0269 100644
--- a/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java
+++ b/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java
@@ -136,7 +136,7 @@
     public void setProperties(Properties properties)

     {

         if (properties==null) properties = new Properties();

-        this.properties = properties;

+        this.properties.putAll(properties);

         if (isUDDIv3(properties)) {

             // UDDI v3 uses the juddi client

             queryManagerURL     = "org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire";

@@ -146,8 +146,7 @@
         } else {

             queryManagerURL = properties.getProperty(QUERYMANAGER_PROPERTY);

             lifeCycleManagerURL = properties.getProperty(LIFECYCLEMANAGER_PROPERTY);

-            securityManagerURL = properties.getProperty(SECURITYMANAGER_PROPERTY);

-        }

+       }

 

         transportClass = properties.getProperty(RegistryImpl.TRANSPORT_CLASS_PROPERTY_NAME);

         semanticEquivalences = properties.getProperty(SEMANTICEQUIVALENCES_PROPERTY);