cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject git commit: [CXF-6000] Wrong default algorithm is used for TrustManagerFactory instantiation
Date Fri, 12 Sep 2014 16:51:18 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes bbbe73ea4 -> 65f7ab5a3


[CXF-6000] Wrong default algorithm is used for TrustManagerFactory instantiation


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/65f7ab5a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/65f7ab5a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/65f7ab5a

Branch: refs/heads/2.7.x-fixes
Commit: 65f7ab5a3339b0214d7477e659b3f7fff20ea434
Parents: bbbe73e
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Fri Sep 12 18:38:59 2014 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Fri Sep 12 18:48:25 2014 +0200

----------------------------------------------------------------------
 .../org/apache/cxf/configuration/jsse/TLSParameterJaxBUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/65f7ab5a/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterJaxBUtils.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterJaxBUtils.java
b/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterJaxBUtils.java
index 8996c8b..3ce5fcf 100644
--- a/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterJaxBUtils.java
+++ b/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterJaxBUtils.java
@@ -298,7 +298,7 @@ public final class TLSParameterJaxBUtils {
 
         String alg = tmc.isSetFactoryAlgorithm()
                      ? tmc.getFactoryAlgorithm()
-                     : KeyManagerFactory.getDefaultAlgorithm();
+                     : TrustManagerFactory.getDefaultAlgorithm();
 
         TrustManagerFactory fac =
                      tmc.isSetProvider()


Mime
View raw message