You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2023/06/19 02:59:08 UTC

[directory-fortress-core] branch master updated: revert prop names to javax

This is an automated email from the ASF dual-hosted git repository.

smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git


The following commit(s) were added to refs/heads/master by this push:
     new e2cf43b9 revert prop names to javax
     new 273b0960 :Merge branch 'master' of https://gitbox.apache.org/repos/asf/directory-fortress-core
e2cf43b9 is described below

commit e2cf43b9f568b6588582dcf09e31d09ebee225b9
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Sun Jun 18 21:57:23 2023 -0500

    revert prop names to javax
---
 .../java/org/apache/directory/fortress/core/rest/RestUtils.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java b/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java
index 6cd3e2ea..f7c21fa7 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java
@@ -139,9 +139,9 @@ public final class RestUtils
         LOG.info("HTTP Connect Properties: host:{}, port:{}, protocol:{}, version:{}, service:{}, uri:{}", httpHost, httpPort, httpProtocol, fortressRestVersion, serviceName, uri);
         if( StringUtils.isNotEmpty(trustStore ) && StringUtils.isNotEmpty(trustStorePw ) )
         {
-            LOG.info( "jakarta.net.ssl.trustStore: {}", trustStore );
-            System.setProperty( "jakarta.net.ssl.trustStore", trustStore );
-            System.setProperty( "jakarta.net.ssl.trustStorePassword", trustStorePw );
+            LOG.info( "javax.net.ssl.trustStore: {}", trustStore );
+            System.setProperty( "javax.net.ssl.trustStore", trustStore );
+            System.setProperty( "javax.net.ssl.trustStorePassword", trustStorePw );
         }
         //System.setProperty( "http.maxConnections", "50" );
     }