spring security oauth2 能把token存储到redis上吗

2025-05-10 17:38:16
推荐回答(3个)
回答1:

spring-security-oauth2在集群环境下可行 定时任务的实现方式有多种,例如JDK自带的Timer+TimerTask方式,Spring 3.0以后的调度任务(Scheduled Task),Quartz等。 Timer+TimerTask是最基本的解决方案,但是比较远古了,这里不再讨论。

回答2:

继承WebSecurityConfigurerAdapter重构configure方法;@Ov

回答3:

springsecurityoauth会依赖spring的很多包,包括spring-corespr