类 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.AuthenticationManager
     
    protected void
    configure​(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
     
    protected void
    configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
     

    从类继承的方法 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

    authenticationManager, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • 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

      @ConditionalOnMissingBean @Bean protected UserBusinessAdapter userBusinessAdapter()