#63 left the main security config class in the spring.factories

This commit is contained in:
Fabio Formosa
2022-10-01 00:50:24 +02:00
parent b06b130d20
commit 727403d420
2 changed files with 3 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import org.apache.commons.lang3.BooleanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
@@ -44,6 +45,7 @@ import it.fabioformosa.quartzmanager.security.helpers.impl.QuartzManagerHttpSecu
/**
* @author Fabio.Formosa
*/
@ComponentScan(basePackages = {"it.fabioformosa.quartzmanager.security"})
@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true)

View File

@@ -1,4 +1,2 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
it.fabioformosa.quartzmanager.security.WebSecurityConfigJWT,\
it.fabioformosa.quartzmanager.security.properties.JwtSecurityProperties,\
it.fabioformosa.quartzmanager.security.properties.InMemoryAccountProperties
it.fabioformosa.quartzmanager.security.WebSecurityConfigJWT