[java-identity-provider] 01/02: IDP-1987 - Review ExtractX509CertificateFromRequest

Scott Cantor cantor.2 at osu.edu
Thu Aug 18 13:48:41 UTC 2022


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

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

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

commit 3cf7024e12e08f27086a467485d6b62c31124fa1
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 33863cf47..efaeea750 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