@EnableWebSecurity
public class SecurityConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Modifier and Type | Field and Description |
---|---|
private JwtAuthenticationFilter |
jwtAuthenticationFilter |
private org.springframework.security.core.userdetails.UserDetailsService |
userDetailsService |
Constructor and Description |
---|
SecurityConfig() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.authentication.AuthenticationManager |
authenticationManagerBean() |
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) |
void |
configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder) |
(package private) org.springframework.security.crypto.password.PasswordEncoder |
passwordEncoder() |
authenticationManager, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
private final org.springframework.security.core.userdetails.UserDetailsService userDetailsService
private final JwtAuthenticationFilter jwtAuthenticationFilter
@Bean(value="org.springframework.security.authenticationManager") public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean() throws java.lang.Exception
authenticationManagerBean
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
java.lang.Exception
@Bean org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) throws java.lang.Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
java.lang.Exception
@Autowired public void configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder) throws java.lang.Exception
java.lang.Exception