1.@SecurityAutoConfiguration
2022-04-17 15:33:21 3 举报
AI智能生成
@SecurityAutoConfiguration 调用链
作者其他创作
大纲/内容
DefaultAuthenticationEventPublisher
SecurityDataConfiguration
SpringBootWebSecurityConfiguration
ObjectPostProcessorConfiguration
AuthenticationConfiguration
EnableGlobalAuthentication
SpringWebMvcImportSelector
OAuth2ImportSelector
WebSecurityConfiguration
EnableWebSecurity
WebSecurityEnablerConfiguration
注入了 类型为 FilterChainProxy 的 springSecurityFilterChain
FilterChainProxy
其子类默认唯一
SecurityFilterChain
有属性filters: List<Filter>
DefaultSecurityFilterChain
在其doFilter中: 获取springSecurityFilterChain并将其挂载
DelegatingFilterProxyRegistrationBean
在 @ConditionalOnBean(name = \"springSecurityFilterChain\") 的情况下: @Bean了一个 DelegatingFilterProxyRegistrationBean 类型的name为securityFilterChainRegistration对象
SecurityFilterAutoConfiguration
@SecurityAutoConfiguration
0 条评论
回复 删除
下一页