Corresponding change for openflowjava - TLS support (https://git.opendaylight.org... 84/8484/2
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Tue, 1 Jul 2014 09:45:31 +0000 (11:45 +0200)
committermichal rehak <mirehak@cisco.com>
Tue, 1 Jul 2014 11:12:00 +0000 (11:12 +0000)
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/ConnectionConfigurationFactory.java

index 4436bbcb01ab4f6eae86a97752d2681b9e04bc9f..168191a9053158d54544bfff0a259bb6e1607d74 100644 (file)
@@ -11,6 +11,7 @@ package org.opendaylight.openflowplugin.openflow.md.core;
 import java.net.InetAddress;
 
 import org.opendaylight.openflowjava.protocol.api.connection.ConnectionConfiguration;
+import org.opendaylight.openflowjava.protocol.api.connection.TlsConfiguration;
 
 /**
  * @deprecated use configSubsystem
@@ -40,11 +41,6 @@ public abstract class ConnectionConfigurationFactory {
                 return DEFAULT_OF_PORT;
             }
 
-            @Override
-            public FEATURE_SUPPORT getTlsSupport() {
-                return FEATURE_SUPPORT.NOT_SUPPORTED;
-            }
-
             @Override
             public Object getTransferProtocol() {
                 // TODO:: TCP/UDP ...
@@ -60,6 +56,11 @@ public abstract class ConnectionConfigurationFactory {
             public Object getSslContext() {
                 return null;
             }
+
+            @Override
+            public TlsConfiguration getTlsConfiguration() {
+                return null;
+            }
         };
     }
     
@@ -80,11 +81,6 @@ public abstract class ConnectionConfigurationFactory {
                 return LEGACY_OF_PORT;
             }
 
-            @Override
-            public FEATURE_SUPPORT getTlsSupport() {
-                return FEATURE_SUPPORT.NOT_SUPPORTED;
-            }
-
             @Override
             public Object getTransferProtocol() {
                 // TODO:: TCP/UDP ...
@@ -100,6 +96,11 @@ public abstract class ConnectionConfigurationFactory {
             public Object getSslContext() {
                 return null;
             }
+
+            @Override
+            public TlsConfiguration getTlsConfiguration() {
+                return null;
+            }
         };
     }