[java-identity-provider] branch maint-4 updated: IDP-1987 - Review ExtractX509CertificateFromRequest

Scott Cantor cantor.2 at osu.edu
Thu Aug 18 13:45:06 UTC 2022


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch maint-4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=430b032b0119e6e0101246db84263cb2146fd50b

The following commit(s) were added to refs/heads/maint-4 by this push:
     new 430b032b0 IDP-1987 - Review ExtractX509CertificateFromRequest
430b032b0 is described below

commit 430b032b0119e6e0101246db84263cb2146fd50b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 18 09:44:21 2022 -0400

    IDP-1987 - Review ExtractX509CertificateFromRequest
    
    https://shibboleth.atlassian.net/browse/IDP-1987
    
    Replace denigrated? methods.
---
 .../shibboleth/idp/authn/impl/ExtractX509CertificateFromRequest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractX509CertificateFromRequest.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractX509CertificateFromRequest.java
index ac6e45e75..acfa119dd 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractX509CertificateFromRequest.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractX509CertificateFromRequest.java
@@ -80,7 +80,7 @@ public class ExtractX509CertificateFromRequest extends AbstractExtractionAction
         
         final X509Certificate cert = certs[0];
         log.debug("{} End-entity X.509 certificate found with subject '{}', issued by '{}'", getLogPrefix(),
-                cert.getSubjectDN().getName(), cert.getIssuerDN().getName());
+                cert.getSubjectX500Principal().getName(), cert.getIssuerX500Principal().getName());
 
         certCtx.setCertificate(cert);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list