Spring Redirect and Fowrward
 Spring Redirect and Fowrward 
 303/302 return
1
2
3
4
5
6
7
8
9
10
11
@Bean
@Order(2)
SecurityFilterChain publicChain(HttpSecurity http, TokenManager tokenManager) throws Exception {
	http
			.securityMatcher("/**")
			.csrf(AbstractHttpConfigurer::disable)
			.cors(AbstractHttpConfigurer::disable)
			.formLogin(AbstractHttpConfigurer::disable)
			.logout(l -> l
					.logoutUrl("/logout")
					.logoutRequestMatcher(new AntPathRequestMatcher("/logout", "GET"))
 This post is licensed under  CC BY 4.0  by the author.