@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled=true)
public class SecurityConfigure
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| 构造器和说明 |
|---|
SecurityConfigure(org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
JwtAuthEntryPoint unauthorizedHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
AuthTokenFilterService |
authenticationJwtTokenFilter() |
org.springframework.security.authentication.AuthenticationManager |
authenticationManagerBean() |
void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder) |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
org.springframework.security.crypto.password.PasswordEncoder |
passwordEncoder() |
authenticationManager, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBeanpublic SecurityConfigure(org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
JwtAuthEntryPoint unauthorizedHandler)
@Bean public AuthTokenFilterService authenticationJwtTokenFilter()
public void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder)
throws Exception
configure 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean
public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean()
throws Exception
authenticationManagerBean 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
Copyright © 2023 EdurtIO Software Foundation. All rights reserved.