jdk 17
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
package org.dromara.maxkey;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
|
||||
import org.dromara.maxkey.configuration.ApplicationConfig;
|
||||
import org.dromara.maxkey.web.InitializeContext;
|
||||
@@ -33,6 +32,8 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
import jakarta.servlet.ServletException;
|
||||
|
||||
@ComponentScan(basePackages = {
|
||||
"org.maxkey.authn",
|
||||
"org.maxkey.configuration",
|
||||
|
||||
@@ -19,10 +19,6 @@ package org.dromara.maxkey.web.interceptor;
|
||||
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import javax.servlet.RequestDispatcher;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.dromara.maxkey.authz.oauth2.provider.OAuth2Authentication;
|
||||
import org.dromara.maxkey.authz.oauth2.provider.token.DefaultTokenServices;
|
||||
import org.dromara.maxkey.crypto.password.PasswordReciprocal;
|
||||
@@ -33,6 +29,10 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.servlet.AsyncHandlerInterceptor;
|
||||
|
||||
import jakarta.servlet.RequestDispatcher;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* OAuth v2.0 accessToken认证Interceptor处理.
|
||||
* @author Crystal.Sea
|
||||
|
||||
@@ -18,9 +18,6 @@
|
||||
package org.dromara.maxkey.web.interceptor;
|
||||
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import javax.servlet.RequestDispatcher;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.dromara.maxkey.authn.web.AuthorizationUtils;
|
||||
import org.dromara.maxkey.authz.oauth2.provider.OAuth2Authentication;
|
||||
@@ -37,6 +34,10 @@ import org.springframework.security.core.userdetails.User;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.servlet.AsyncHandlerInterceptor;
|
||||
|
||||
import jakarta.servlet.RequestDispatcher;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* basic认证Interceptor处理.
|
||||
* @author Crystal.Sea
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#MaxKey Title and Version #
|
||||
############################################################################
|
||||
application.title =MaxKey-OpenApi
|
||||
application.formatted-version =v3.5.19 GA
|
||||
application.formatted-version =v4.0.0 GA
|
||||
#for dynamic service discovery
|
||||
spring.application.name =maxkey-openapi
|
||||
############################################################################
|
||||
|
||||
Reference in New Issue
Block a user