public abstract class SpringSecurityBaseConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| 限定符和类型 | 字段和说明 |
|---|---|
protected CentitSessionRegistry |
centitSessionRegistry |
protected CentitUserDetailsService |
centitUserDetailsService |
protected org.springframework.security.web.csrf.CsrfTokenRepository |
csrfTokenRepository |
protected org.springframework.core.env.Environment |
env |
| 构造器和说明 |
|---|
SpringSecurityBaseConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
protected AjaxAuthenticationFailureHandler |
createAjaxFailureHandler() |
protected AjaxAuthenticationSuccessHandler |
createAjaxSuccessHandler(CentitUserDetailsService centitUserDetailsService) |
protected DaoAccessDecisionManager |
createCentitAccessDecisionManager() |
protected DaoFilterSecurityInterceptor |
createCentitPowerFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
DaoAccessDecisionManager centitAccessDecisionManagerBean,
DaoInvocationSecurityMetadataSource centitSecurityMetadataSource) |
protected DaoInvocationSecurityMetadataSource |
createCentitSecurityMetadataSource() |
protected org.springframework.security.web.firewall.StrictHttpFirewall |
httpFirewall() |
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean@Autowired protected org.springframework.core.env.Environment env
@Autowired protected org.springframework.security.web.csrf.CsrfTokenRepository csrfTokenRepository
@Autowired protected CentitSessionRegistry centitSessionRegistry
@Autowired protected CentitUserDetailsService centitUserDetailsService
public void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
throws Exception
configure 在接口中 org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>configure 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterExceptionprotected DaoFilterSecurityInterceptor createCentitPowerFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager, DaoAccessDecisionManager centitAccessDecisionManagerBean, DaoInvocationSecurityMetadataSource centitSecurityMetadataSource)
protected AjaxAuthenticationFailureHandler createAjaxFailureHandler()
protected AjaxAuthenticationSuccessHandler createAjaxSuccessHandler(CentitUserDetailsService centitUserDetailsService)
protected DaoAccessDecisionManager createCentitAccessDecisionManager()
protected DaoInvocationSecurityMetadataSource createCentitSecurityMetadataSource()
protected org.springframework.security.web.firewall.StrictHttpFirewall httpFirewall()
Copyright © 2018 江苏南大先腾信息产业股份有限公司. All rights reserved.