springBoot 2.7.3
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey;
|
||||
package org.maxkey.autoconfigure;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
@@ -46,15 +46,15 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.security.crypto.password.PasswordEncoder;
|
||||
|
||||
@Configuration
|
||||
@AutoConfiguration
|
||||
@ComponentScan(basePackages = {
|
||||
"org.maxkey.authn",
|
||||
"org.maxkey.configuration",
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey;
|
||||
package org.maxkey.autoconfigure;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -34,16 +34,16 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
|
||||
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
@Configuration
|
||||
@EnableWebMvc
|
||||
@AutoConfiguration
|
||||
public class MaxKeyMvcConfig implements WebMvcConfigurer {
|
||||
private static final Logger _logger = LoggerFactory.getLogger(MaxKeyMvcConfig.class);
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
# Auto Configure
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.maxkey.autoconfigure.ApplicationAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.MvcAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.KaptchaAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.RedisAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.AuthnProviderAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.OneTimePasswordAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.SessionAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.TokenAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.CasAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.Oauth20AutoConfiguration,\
|
||||
org.maxkey.autoconfigure.Saml20AutoConfiguration,\
|
||||
org.maxkey.autoconfigure.SocialSignOnAutoConfiguration,\
|
||||
org.maxkey.autoconfigure.SwaggerConfig,\
|
||||
org.maxkey.MaxKeyMvcConfig
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
org.maxkey.autoconfigure.ApplicationAutoConfiguration
|
||||
org.maxkey.autoconfigure.MvcAutoConfiguration
|
||||
org.maxkey.autoconfigure.KaptchaAutoConfiguration
|
||||
org.maxkey.autoconfigure.RedisAutoConfiguration
|
||||
org.maxkey.autoconfigure.AuthnProviderAutoConfiguration
|
||||
org.maxkey.autoconfigure.JwtAuthnAutoConfiguration
|
||||
org.maxkey.autoconfigure.OneTimePasswordAutoConfiguration
|
||||
org.maxkey.autoconfigure.SessionAutoConfiguration
|
||||
org.maxkey.autoconfigure.TokenAutoConfiguration
|
||||
org.maxkey.autoconfigure.CasAutoConfiguration
|
||||
org.maxkey.autoconfigure.Oauth20AutoConfiguration
|
||||
org.maxkey.autoconfigure.Saml20AutoConfiguration
|
||||
org.maxkey.autoconfigure.SocialSignOnAutoConfiguration
|
||||
org.maxkey.autoconfigure.SwaggerConfig
|
||||
org.maxkey.autoconfigure.MaxKeyMvcConfig
|
||||
org.maxkey.autoconfigure.MaxKeyConfig
|
||||
@@ -16,7 +16,7 @@
|
||||
#MaxKey Title and Version #
|
||||
############################################################################
|
||||
application.title =MaxKey
|
||||
application.formatted-version =v3.5.6 GA
|
||||
application.formatted-version =v3.5.7 GA
|
||||
#for dynamic service discovery
|
||||
spring.application.name =maxkey
|
||||
############################################################################
|
||||
|
||||
Reference in New Issue
Block a user