类 NkWebSecurityConfig
java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
cn.nkpro.elcube.security.NkWebSecurityConfig
- 所有已实现的接口:
org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>,org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
@Configuration
@EnableGlobalMethodSecurity(securedEnabled=true,
prePostEnabled=true)
public class NkWebSecurityConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Created by bean on 2019/12/30.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.security.authentication.AuthenticationManagerprotected voidconfigure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)protected voidconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)protected UserBusinessAdapter从类继承的方法 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManager, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
构造器详细资料
-
NkWebSecurityConfig
public NkWebSecurityConfig()
-
-
方法详细资料
-
authenticationManagerBean
@Bean(name="org.springframework.security.authenticationManager") public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean() throws Exception- 覆盖:
authenticationManagerBean在类中org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter- 抛出:
Exception
-
configure
protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)- 覆盖:
configure在类中org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception- 覆盖:
configure在类中org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter- 抛出:
Exception
-
userBusinessAdapter
-