mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2025-12-31 22:53:16 +09:00
#63 left the main security config class in the spring.factories
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user