Merge branch '3.0.x' into 3.1.x
This commit is contained in:
		
						commit
						28b5b7a218
					
				|  | @ -67,8 +67,8 @@ public class SecurityConfiguration { | |||
| 			requests.requestMatchers(EndpointRequest.toAnyEndpoint().excluding(MappingsEndpoint.class)) | ||||
| 				.hasRole("ACTUATOR"); | ||||
| 			requests.requestMatchers(PathRequest.toStaticResources().atCommonLocations()).permitAll(); | ||||
| 			requests.requestMatchers("/foo").permitAll(); | ||||
| 			requests.requestMatchers(new AntPathRequestMatcher("/error")).permitAll(); | ||||
| 			requests.requestMatchers(new AntPathRequestMatcher("/foo")).permitAll(); | ||||
| 			requests.requestMatchers(new MvcRequestMatcher(handlerMappingIntrospector, "/error")).permitAll(); | ||||
| 			requests.requestMatchers(new AntPathRequestMatcher("/**")).hasRole("USER"); | ||||
| 		}); | ||||
| 		http.cors(withDefaults()); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue