chore: 修改会话方式类型的配置键值

This commit is contained in:
Ray.Hao
2024-12-04 00:20:46 +08:00
parent a2e9182cb9
commit 3cdca76300
6 changed files with 33 additions and 21 deletions

View File

@@ -33,10 +33,10 @@ import java.util.stream.Collectors;
/**
* JWT 令牌服务实现
*
* @author Ray
* @author Ray.Hao
* @since 2024/11/15
*/
@ConditionalOnProperty(value = "security.token-type", havingValue = "jwt")
@ConditionalOnProperty(value = "security.session.type", havingValue = "jwt")
@Service
public class JwtTokenService implements TokenService {

View File

@@ -9,10 +9,10 @@ import org.springframework.stereotype.Service;
/**
* JWT 令牌服务实现
*
* @author Ray
* @author Ray.Hao
* @since 2024/11/15
*/
@ConditionalOnProperty(value = "security.token-type", havingValue = "redis-token")
@ConditionalOnProperty(value = "security.session.type", havingValue = "redis-token")
@Service
public class RedisTokenService implements TokenService {