cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashaki...@apache.org
Subject svn commit: r1549595 - /cxf/trunk/services/xkms/xkms-x509-handlers/src/main/java/org/apache/cxf/xkms/x509/validator/TrustedAuthorityValidator.java
Date Mon, 09 Dec 2013 15:13:20 GMT
Author: ashakirin
Date: Mon Dec  9 15:13:20 2013
New Revision: 1549595

URL: http://svn.apache.org/r1549595
Log:
Improved error message

Modified:
    cxf/trunk/services/xkms/xkms-x509-handlers/src/main/java/org/apache/cxf/xkms/x509/validator/TrustedAuthorityValidator.java

Modified: cxf/trunk/services/xkms/xkms-x509-handlers/src/main/java/org/apache/cxf/xkms/x509/validator/TrustedAuthorityValidator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/services/xkms/xkms-x509-handlers/src/main/java/org/apache/cxf/xkms/x509/validator/TrustedAuthorityValidator.java?rev=1549595&r1=1549594&r2=1549595&view=diff
==============================================================================
--- cxf/trunk/services/xkms/xkms-x509-handlers/src/main/java/org/apache/cxf/xkms/x509/validator/TrustedAuthorityValidator.java
(original)
+++ cxf/trunk/services/xkms/xkms-x509-handlers/src/main/java/org/apache/cxf/xkms/x509/validator/TrustedAuthorityValidator.java
Mon Dec  9 15:13:20 2013
@@ -97,7 +97,10 @@ public class TrustedAuthorityValidator i
             validator.validate(certPath, pkixParams);
             
         } catch (InvalidAlgorithmParameterException e) {
-            LOG.log(Level.SEVERE, "Invalid algorithm by certificate chain validation: " +
e.getMessage(), e);
+            LOG.log(Level.SEVERE,
+                    "Invalid algorithm parameter by certificate chain validation. "
+                        + "It is likely that issuer certificates are not found in XKMS trusted
storage. "
+                        + e.getMessage(), e);
             throw new RuntimeException(e);
         } catch (NoSuchAlgorithmException e) {
             LOG.log(Level.SEVERE, "Unknown algorithm by certificate chain validation: " +
e.getMessage(), e);



Mime
View raw message