master
parent
68d9aa8a89
commit
3bf428400b
BIN
doc/框架及配置.docx
BIN
doc/框架及配置.docx
Binary file not shown.
|
|
@ -7,7 +7,7 @@ import com.boot.security.server.dto.Token;
|
|||
* Token管理器<br>
|
||||
* 可存储到redis或者数据库<br>
|
||||
* 具体可看实现类<br>
|
||||
* 默认基于redis,实现类为 com.boot.security.server.service.impl.TokenServiceImpl<br>
|
||||
* 默认基于redis,实现类为 com.boot.security.server.service.impl.TokenServiceJWTImpl<br>
|
||||
* 如要换成数据库存储,将TokenServiceImpl类上的注解@Primary挪到com.boot.security.server.service.impl.TokenServiceDbImpl
|
||||
*
|
||||
*
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import com.boot.security.server.service.TokenService;
|
|||
* @author 小威老师
|
||||
*
|
||||
*/
|
||||
@Deprecated
|
||||
@Service
|
||||
public class TokenServiceImpl implements TokenService {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue