Alternative for JdbcTokenStore in spring security 6

219 Views Asked by At

I am doing migration of oauth2 from spring security 4.0.1 to 6.0.1 and found that JdbcTokenStore has been removed in spring security 6 We were previously creating bean of JdbcTokenStore as below:

 @Bean
    public JdbcTokenStore tokenStore() {
        return new JdbcTokenStore(datastore);
    }

I want to keep using my old authorization flow with the same behaviour as the JdbcTokenStore.

Is there any alternative to the same.

0

There are 0 best solutions below