diff --git a/blade-auth/src/main/java/org/springblade/auth/service/BladeClientDetailsServiceImpl.java b/blade-auth/src/main/java/org/springblade/auth/service/BladeClientDetailsServiceImpl.java index 1885f831..6c7b2ae3 100644 --- a/blade-auth/src/main/java/org/springblade/auth/service/BladeClientDetailsServiceImpl.java +++ b/blade-auth/src/main/java/org/springblade/auth/service/BladeClientDetailsServiceImpl.java @@ -17,8 +17,6 @@ package org.springblade.auth.service; import lombok.SneakyThrows; -import org.springblade.auth.constant.AuthConstant; -import org.springframework.cache.annotation.Cacheable; import org.springframework.security.oauth2.provider.ClientDetails; import org.springframework.security.oauth2.provider.client.JdbcClientDetailsService; @@ -42,7 +40,6 @@ public class BladeClientDetailsServiceImpl extends JdbcClientDetailsService { */ @Override @SneakyThrows - @Cacheable(value = AuthConstant.CLIENT_DETAILS, key = "#clientId", unless = "#result == null") public ClientDetails loadClientByClientId(String clientId) { return super.loadClientByClientId(clientId); }