dis*_*ame 4 spring spring-boot
我在我的服务器上进行了一些更改,但我不知道这些更改中的哪些会导致此日志输出:
==========================
CONDITION EVALUATION DELTA
==========================
Positive matches:
-----------------
None
Negative matches:
-----------------
SpringBootWebSecurityConfiguration:
Did not match:
- @ConditionalOnMissingBean (types: org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; SearchStrategy: all) found beans of type 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter' org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerSecurityConfiguration, org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfiguration, webSecurityConfig (OnBeanCondition)
Matched:
- @ConditionalOnClass found required class 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter' (OnClassCondition)
- found 'session' scope (OnWebApplicationCondition)
UserDetailsServiceAutoConfiguration:
Did not match:
- @ConditionalOnMissingBean (types: org.springframework.security.authentication.AuthenticationManager,org.springframework.security.authentication.AuthenticationProvider,org.springframework.security.core.userdetails.UserDetailsService; SearchStrategy: all) found beans of type 'org.springframework.security.authentication.AuthenticationManager' authenticationManager and found beans of type 'org.springframework.security.core.userdetails.UserDetailsService' appUserDetailsService and found beans of type 'org.springframework.security.authentication.AuthenticationProvider' daoAuthenticationProvider (OnBeanCondition)
Matched:
- @ConditionalOnClass found required class 'org.springframework.security.authentication.AuthenticationManager' (OnClassCondition)
WebSecurityEnablerConfiguration:
Did not match:
- @ConditionalOnMissingBean (names: springSecurityFilterChain; SearchStrategy: all) found beans named springSecurityFilterChain (OnBeanCondition)
Matched:
- found 'session' scope (OnWebApplicationCondition)
Exclusions:
-----------
None
Unconditional classes:
----------------------
None
Run Code Online (Sandbox Code Playgroud)
这真的没有告诉我任何事情。
它甚至意味着什么?是不是有什么东西坏了,因为服务器仍然工作正常。
And*_*son 11
条件评估增量是 Spring Boot 的 DevTools 的一个特性。它在文档中描述如下:
默认情况下,每次应用程序重新启动时,都会记录显示条件评估增量的报告。该报告显示在您进行更改(例如添加或删除 bean 以及设置配置属性)时对应用程序自动配置的更改。
在您的问题中显示的情况下,对影响安全自动配置的安全相关 bean 进行了一些更改。没有什么坏掉的。输出试图帮助您了解您对应用程序所做的更改如何影响其自动配置。
如果您愿意,您可以关闭 delta 的日志记录。为此,请设置以下属性:
spring.devtools.restart.log-condition-evaluation-delta=false
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4720 次 |
| 最近记录: |