类 SinoSecurityConfiguration

  • 所有已实现的接口:
    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
    @EnableWebSecurity
    public class SinoSecurityConfiguration
    extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
    • 字段详细资料

      • CUSTOM_SECURITY_CONFIGURE_FUNCTION_NAME

        public static final String CUSTOM_SECURITY_CONFIGURE_FUNCTION_NAME
        另请参阅:
        常量字段值
    • 构造器详细资料

      • SinoSecurityConfiguration

        public SinoSecurityConfiguration()
    • 方法详细资料

      • userDetailsService

        @Bean
        public org.springframework.security.core.userdetails.UserDetailsService userDetailsService()
        覆盖:
        userDetailsService 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      • authenticationProvider

        @Bean
        public org.springframework.security.authentication.AuthenticationProvider authenticationProvider()
      • rememberMeServices

        @Bean
        public org.springframework.security.web.authentication.RememberMeServices rememberMeServices()
      • passwordEncoder

        @Bean
        @ConditionalOnMissingBean(org.springframework.security.crypto.password.PasswordEncoder.class)
        public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
      • allowUrlEncodedSlashHttpFirewall

        @Bean
        public org.springframework.security.web.firewall.HttpFirewall allowUrlEncodedSlashHttpFirewall()
      • configure

        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.WebSecurityConfigurerAdapter
        抛出:
        Exception
      • 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