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() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected DaoFilterSecurityInterceptor |
centitPowerFilter() |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
protected AjaxAuthenticationFailureHandler |
createAjaxFailureHandler() |
protected AjaxAuthenticationSuccessHandler |
createAjaxSuccessHandler() |
protected org.springframework.security.authentication.AuthenticationManager |
createAuthenticationManager() |
protected DaoAccessDecisionManager |
createCentitAccessDecisionManager() |
protected DaoInvocationSecurityMetadataSource |
createCentitSecurityMetadataSource() |
protected abstract String[] |
getAuthenticatedUrl() |
protected abstract org.springframework.security.web.AuthenticationEntryPoint |
getAuthenticationEntryPoint() |
protected abstract org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter |
getAuthenticationFilter() |
protected abstract org.springframework.security.authentication.AuthenticationProvider |
getAuthenticationProvider() |
protected String |
getFrameOptions() |
protected abstract String[] |
getPermitAllUrl() |
protected abstract javax.servlet.Filter |
logoutFilter() |
authenticationManager, authenticationManagerBean, 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 void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterExceptionprotected abstract String[] getAuthenticatedUrl()
protected abstract String[] getPermitAllUrl()
protected abstract org.springframework.security.web.AuthenticationEntryPoint getAuthenticationEntryPoint()
protected String getFrameOptions()
protected abstract org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter getAuthenticationFilter()
protected DaoFilterSecurityInterceptor centitPowerFilter()
protected abstract javax.servlet.Filter logoutFilter()
protected org.springframework.security.authentication.AuthenticationManager createAuthenticationManager()
protected abstract org.springframework.security.authentication.AuthenticationProvider getAuthenticationProvider()
protected AjaxAuthenticationFailureHandler createAjaxFailureHandler()
protected AjaxAuthenticationSuccessHandler createAjaxSuccessHandler()
protected DaoAccessDecisionManager createCentitAccessDecisionManager()
protected DaoInvocationSecurityMetadataSource createCentitSecurityMetadataSource()
Copyright © 2018 江苏南大先腾信息产业股份有限公司. All rights reserved.