Commit eee337a6 authored by Noel Alonso's avatar Noel Alonso
Browse files

Deslimita métodos de acceso a healthcheck

parent 88e588c3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public class ResourceServerConfiguration extends ResourceServerConfigurerAdapter

		// @formatter:off

		http.anonymous().and().authorizeRequests().antMatchers(HttpMethod.GET, "/oauth/actuator/**").permitAll();
		http.anonymous().and().authorizeRequests().antMatchers("/oauth/actuator/**").permitAll();

		http.authorizeRequests().antMatchers("/**").authenticated();