Skip to content

Commit

Permalink
Merge pull request #175 from scottslewis/master
Browse files Browse the repository at this point in the history
Added system properties for configuring ECFSSLContextFactory
  • Loading branch information
scottslewis authored Mar 4, 2025
2 parents 1135a0f + bd01575 commit f513fb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework/bundles/org.eclipse.ecf/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-Name: %plugin.name
Bundle-SymbolicName: org.eclipse.ecf;singleton:=true
Automatic-Module-Name: org.eclipse.ecf
Bundle-Version: 3.12.1.qualifier
Bundle-Version: 3.13.0.qualifier
Bundle-Activator: org.eclipse.ecf.internal.core.ECFPlugin
Bundle-Vendor: %plugin.provider
Bundle-Localization: plugin
Expand Down
2 changes: 1 addition & 1 deletion framework/bundles/org.eclipse.ecf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
</parent>

<artifactId>org.eclipse.ecf</artifactId>
<version>3.12.1-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ public void ungetService(Bundle bundle, ServiceRegistration registration, Object
containerManagerServiceRegistration = ctxt.registerService(IContainerManager.class.getName(), sf, null);

// Register SSLContextFactory
ecfSSLContextFactory = new ECFSSLContextFactory(ctxt);
String defaultProtocol = System.getProperty("org.eclipse.ecf.core.security.sslcontextfactory.defaultProtocol"); //$NON-NLS-1$
String defaultProvider = System.getProperty("org.eclipse.ecf.core.security.sslcontextfactory.defaultProvider"); //$NON-NLS-1$

ecfSSLContextFactory = new ECFSSLContextFactory(ctxt, defaultProtocol, defaultProvider);
sslContextFactoryRegistration = ctxt.registerService(SSLContextFactory.class, ecfSSLContextFactory, null);

SafeRunner.run(new ExtensionRegistryRunnable(this.context) {
Expand Down

0 comments on commit f513fb3

Please sign in to comment.