dropbox-sdk-java icon indicating copy to clipboard operation
dropbox-sdk-java copied to clipboard

Dropbox SDK updates to support certificate changes

Open relvira0403 opened this issue 1 year ago • 3 comments

We have received this notification sent Thursday, June 27, 2024 4:01 AM.

We tried updating the DropBox Java SDK version from v3.1.0 to v6.0.0 as specified in the email and it resulted to these exceptions.

  • The project was not built since its build path is incomplete. Cannot find the class file for jakarta.servlet.http.HttpSession. Fix the build path then try building this project web Unknown Java Problem
  • The type jakarta.servlet.http.HttpSession cannot be resolved. It is indirectly referenced from required .class files

Environment: Java 11- Open Jdk-11.0.15.10-hotspot SpringBoot - 2.3.0.RELEASE

We tried migrating javax.servlet.http.HttpSession; to jakarta.servlet.http.HttpSession as mentioned on this release below:

https://github.com/dropbox/dropbox-sdk-java/issues/495 https://github.com/dropbox/dropbox-sdk-java/blob/main/core/src/main/java/com/dropbox/core/DbxStandardSessionStore.java

Doing the changes above escalate to more complicated issues.

  1. All methods that uses javax.servlet.http.* are affected ex. HttpServletRequest, HttpServletResponse.
  2. Other integration services that uses javax.servlet.http.* were also affected e.g. Google Drive, One Drive and other Cloud Storage Integration Services.
  3. Mixing javax.servlet with jakarta.servlet can cause such issues.

Suggestion to release a version that supports the above mentioned environment and still supports javax.servlet.http.*. Thank you.

relvira0403 avatar Jun 27 '24 06:06 relvira0403

Thanks for sharing this context! I'll send this along to the team to request support for this. I can't promise if or when that might be implemented though.

greg-db avatar Jun 27 '24 17:06 greg-db

We are running into the same issue attempting to upgrade from version 5.4.5 to version 7.0.0 for the certificate changes. We aren't able to change our app to the a new servlet version.

worpet avatar Mar 03 '25 19:03 worpet

Hi @worpet, thank you for your feedback. We have passed it to the team along with the original request.

alyx-db avatar Mar 03 '25 20:03 alyx-db

Just checking in—are there any updates on this? As I recall, the deadline to migrate the Dropbox API to support the new root certificates is December 31, 2025. Please let me know if there have been any changes.

relvira0403 avatar May 16 '25 06:05 relvira0403

@relvira0403

We don’t have any updates to share on this request at the moment.

We’ll be sure to follow up here if anything changes. Appreciate your patience and understanding in the meantime!

alyx-db avatar May 19 '25 21:05 alyx-db

I'll consider this ticket closed. It can be implemented in Java 11 and SpringBoot 2.x without using jakarta.servlet.http.*. Many Thanks

relvira0403 avatar May 21 '25 01:05 relvira0403