in my custom WebSecurityConfigurerAdapter, I am using the next configuration:
@Bean public JwtTokenStore tokenStore() { return new JwtTokenStore(tokenEnha