|
@@ -31,7 +31,6 @@ import org.dromara.maxkey.authz.oauth2.provider.approval.endpoint.OAuth20UserApp
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.client.ClientDetailsUserDetailsService;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.client.JdbcClientDetailsService;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.code.AuthorizationCodeServices;
|
|
|
-import org.dromara.maxkey.authz.oauth2.provider.code.AuthorizationCodeServicesFactory;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.code.InMemoryAuthorizationCodeServices;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.code.RedisAuthorizationCodeServices;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.endpoint.TokenEndpointAuthenticationFilter;
|
|
@@ -41,7 +40,6 @@ import org.dromara.maxkey.authz.oauth2.provider.token.TokenStore;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.token.store.InMemoryTokenStore;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.token.store.JwtAccessTokenConverter;
|
|
|
import org.dromara.maxkey.authz.oauth2.provider.token.store.RedisTokenStore;
|
|
|
-import org.dromara.maxkey.authz.oauth2.provider.token.store.TokenStoreFactory;
|
|
|
import org.dromara.maxkey.authz.oidc.idtoken.OIDCIdTokenEnhancer;
|
|
|
import org.dromara.maxkey.configuration.oidc.OIDCProviderMetadataDetails;
|
|
|
import org.dromara.maxkey.constants.ConstsPersistence;
|
|
@@ -60,7 +58,6 @@ import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
import org.springframework.core.io.ClassPathResource;
|
|
|
-import org.springframework.jdbc.core.JdbcTemplate;
|
|
|
import org.springframework.security.authentication.ProviderManager;
|
|
|
import org.springframework.security.authentication.dao.DaoAuthenticationProvider;
|
|
|
import org.springframework.security.crypto.password.PasswordEncoder;
|