jglobus/JGlobus — pull request #100 by gbehrmann (2013-06-06 07:32:17+00:00)
Title: ssl-proxies: Add information about chain to CertPathValidationException

CertPathValidationException has fields to capture the CertPath and
certificate index that triggered the validation failure. This allows
an application to provide more information about the failure to the
user. Yet, JGlobus didn't fill in these fields of the exception,
meaning that the user would not be offered any information beyond
a simple error message saying that the certificate was rejected.

This patch adds the missing information. An application still has to
detect the exception in the exception cause chain and present it to
the user in some form.
(cherry picked from commit df5c4f845bf2da7e15a075aa187f211014542827)