X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-ssh%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fssh%2Fosgi%2FNetconfSSHActivator.java;h=0d0f95c3cb4d0856ba56c470f0890eb51371caa1;hb=f5a43b68cf4c308608866c3587d103bacbca74f7;hp=c686bcbc66fcb849da3f357bdd3bea2df7f62f2e;hpb=796c16ce147d8a13a95767cca304a1e4cf5193d8;p=controller.git diff --git a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/osgi/NetconfSSHActivator.java b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/osgi/NetconfSSHActivator.java index c686bcbc66..0d0f95c3cb 100644 --- a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/osgi/NetconfSSHActivator.java +++ b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/osgi/NetconfSSHActivator.java @@ -123,6 +123,7 @@ public class NetconfSSHActivator implements BundleActivator { final AuthProvider authService = bundleContext.getService(reference); final Integer newServicePreference = getPreference(reference); if(isBetter(newServicePreference)) { + maxPreference = newServicePreference; server.setAuthProvider(authService); if(sshThread == null) { sshThread = runNetconfSshThread(server);