Browse Source

🎉 2.0.0.RC7

test
smallchill 6 years ago
parent
commit
9d8d6ca9e1
  1. 3
      blade-auth/src/main/java/org/springblade/auth/service/BladeClientDetailsServiceImpl.java

3
blade-auth/src/main/java/org/springblade/auth/service/BladeClientDetailsServiceImpl.java

@ -17,8 +17,6 @@
package org.springblade.auth.service; package org.springblade.auth.service;
import lombok.SneakyThrows; 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.ClientDetails;
import org.springframework.security.oauth2.provider.client.JdbcClientDetailsService; import org.springframework.security.oauth2.provider.client.JdbcClientDetailsService;
@ -42,7 +40,6 @@ public class BladeClientDetailsServiceImpl extends JdbcClientDetailsService {
*/ */
@Override @Override
@SneakyThrows @SneakyThrows
@Cacheable(value = AuthConstant.CLIENT_DETAILS, key = "#clientId", unless = "#result == null")
public ClientDetails loadClientByClientId(String clientId) { public ClientDetails loadClientByClientId(String clientId) {
return super.loadClientByClientId(clientId); return super.loadClientByClientId(clientId);
} }

Loading…
Cancel
Save