JAVA-27461 | removing deprecations.
This commit is contained in:
		
							parent
							
								
									0db917b0ce
								
							
						
					
					
						commit
						d1675a28f4
					
				| @ -53,11 +53,10 @@ public class EmployeeFunctionalConfig { | |||||||
| 
 | 
 | ||||||
|     @Bean |     @Bean | ||||||
|     public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) { |     public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) { | ||||||
|         http.csrf() |         http.csrf(csrf -> csrf.disable()) | ||||||
|             .disable() |             .authorizeExchange( | ||||||
|             .authorizeExchange() |                 exchanges -> exchanges.anyExchange().permitAll() | ||||||
|             .anyExchange() |             ); | ||||||
|             .permitAll(); |  | ||||||
|         return http.build(); |         return http.build(); | ||||||
|     } |     } | ||||||
| } | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user