[java-opensaml] branch main updated: IDP-2017 Review all classes for exclusive use of javax.servlet attributes

Rod Widdowson rdw at steadingsoftware.com
Mon Dec 18 11:36:21 UTC 2023


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

rdw pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=8797ec84d816dafb9662a803e64664ffb5bccdaa

The following commit(s) were added to refs/heads/main by this push:
     new 8797ec84d IDP-2017 Review all classes for exclusive use of javax.servlet attributes
8797ec84d is described below

commit 8797ec84d816dafb9662a803e64664ffb5bccdaa
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Dec 18 11:34:53 2023 +0000

    IDP-2017 Review all classes for exclusive use of javax.servlet attributes
    
    https://shibboleth.atlassian.net/browse/IDP-2017
    
    Make sure that we check jakarta.XXX first and then javax.XXX
---
 .../security/messaging/ServletRequestX509CredentialAdapter.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-security-api/src/main/java/org/opensaml/security/messaging/ServletRequestX509CredentialAdapter.java b/opensaml-security-api/src/main/java/org/opensaml/security/messaging/ServletRequestX509CredentialAdapter.java
index 7fdac41eb..4c6c698f7 100644
--- a/opensaml-security-api/src/main/java/org/opensaml/security/messaging/ServletRequestX509CredentialAdapter.java
+++ b/opensaml-security-api/src/main/java/org/opensaml/security/messaging/ServletRequestX509CredentialAdapter.java
@@ -61,7 +61,7 @@ public class ServletRequestX509CredentialAdapter extends AbstractCredential impl
      * @param request the servlet request
      * 
      * @throws SecurityException if request does not contain an X.509 client certificate in 
-     *  request attribute 'javax.servlet.request.X509Certificate'
+     *  request attribute 'jakarta.servlet.request.X509Certificate'
      */
     public ServletRequestX509CredentialAdapter(@Nonnull final ServletRequest request) throws SecurityException {
         X509Certificate[] chain = (X509Certificate[]) request.getAttribute(JAKARTA_X509_CERT_REQUEST_ATTRIBUTE);

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


More information about the commits mailing list