public abstract class SpringSecurityBaseConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| 限定符和类型 | 字段和说明 |
|---|---|
protected CentitUserDetailsService |
centitUserDetailsService |
protected org.springframework.security.web.csrf.CsrfTokenRepository |
csrfTokenRepository |
protected org.springframework.core.env.Environment |
env |
protected org.springframework.security.core.session.SessionRegistry |
sessionRegistry |
| 构造器和说明 |
|---|
SpringSecurityBaseConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected DaoFilterSecurityInterceptor |
centitPowerFilter() |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
FIRST(Integer.MIN_VALUE), CHANNEL_FILTER, SECURITY_CONTEXT_FILTER, CONCURRENT_SESSION_FILTER,
WEB_ASYNC_MANAGER_FILTER,HEADERS_FILTER,CORS_FILTER,CSRF_FILTER,LOGOUT_FILTER,X509_FILTER,
PRE_AUTH_FILTER,CAS_FILTER,FORM_LOGIN_FILTER,OPENID_FILTER,LOGIN_PAGE_FILTER,DIGEST_AUTH_FILTER,
BASIC_AUTH_FILTER,REQUEST_CACHE_FILTER,SERVLET_API_SUPPORT_FILTER,JAAS_API_SUPPORT_FILTER,
REMEMBER_ME_FILTER,ANONYMOUS_FILTER,SESSION_MANAGEMENT_FILTER,EXCEPTION_TRANSLATION_FILTER,
FILTER_SECURITY_INTERCEPTOR,SWITCH_USER_FILTER,
LAST(
Integer.MAX_VALUE);
|
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(required=false) protected org.springframework.security.core.session.SessionRegistry sessionRegistry
@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.WebSecurityConfigurerAdapterhttp - 过滤器Exception - 配置异常protected 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 © 2020 江苏南大先腾信息产业股份有限公司. All rights reserved.