spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Migrate JDBC PersistentToken Support

Open jzheaux opened this issue 8 months ago • 6 comments

Since JdbcDaoSupport is deprecated, a migration strategy from JdbcTokenRepositoryImpl is needed.

Related to #18441

jzheaux avatar Mar 25 '26 21:03 jzheaux

Hi, @jzheaux. Can I work on it?

therepanic avatar Mar 25 '26 21:03 therepanic

Given https://github.com/spring-projects/spring-security/pull/18820 and https://github.com/spring-projects/spring-security/pull/18820#discussion_r2991143747, let's see if @jkuhel wants to work on this ticket. Please decide between the two of you.

jzheaux avatar Mar 25 '26 21:03 jzheaux

Thank you @jzheaux! @therepanic if you don't mind, I would like to work on this issue.

@jzheaux Just to confirm I have the order and targeted release, would this be right?

7.1.x

  1. #18987
  2. #18986
  3. #18985

8.0.x

  1. #18984

jkuhel avatar Mar 27 '26 12:03 jkuhel

@jkuhel, given that RC1 goes out on Monday, which is historically the cutoff for feature development, I'm moving this to 7.2.x to give everyone more time.

jzheaux avatar Apr 17 '26 16:04 jzheaux

Hi, @jkuhel. You haven't been active on this issue for a while, and I figured you were too busy to work on it, so I decided to take the initiative and resolve almost the entire issue myself by submitting a PR: https://github.com/spring-projects/spring-security/pull/19163. I apologize if you’ve been actively working on this recently. In any case, we’ll still need to remove JdbcTokenRepositoryImpl (wait for the 8.0.0 branch) and document the migration to the new JdbcPersistentTokenRepository for version 8.0.0.

therepanic avatar May 09 '26 14:05 therepanic

Hi, @jkuhel. You haven't been active on this issue for a while, and I figured you were too busy to work on it, so I decided to take the initiative and resolve almost the entire issue myself by submitting a PR: https://github.com/spring-projects/spring-security/pull/19163. I apologize if you’ve been actively working on this recently. In any case, we’ll still need to remove JdbcTokenRepositoryImpl (wait for the 8.0.0 branch) and document the migration to the new JdbcPersistentTokenRepository for version 8.0.0.

Hi @therepanic. Yes I actually have been working on it in between some other work that has taken higher priority. Perhaps it would be best to reach out prior to doing the work so as to not waste effort? I appreciate you reaching out though.

jkuhel avatar May 09 '26 17:05 jkuhel