修改@Configuration属性配置,设置为false
This commit is contained in:
@ -19,7 +19,7 @@ import org.springframework.stereotype.Component;
|
||||
* @author /
|
||||
* @date 2019-01-07
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class QuartzConfig {
|
||||
|
||||
/**
|
||||
|
||||
@ -35,7 +35,7 @@ import java.util.Set;
|
||||
/**
|
||||
* @author hupeng
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableWebSecurity
|
||||
@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true)
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
|
||||
@ -15,7 +15,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @date 2019年11月28日
|
||||
*/
|
||||
@Data
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConfigurationProperties(prefix = "jwt")
|
||||
public class SecurityProperties {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user