BAEL-1430: Move Spring Boot 2 actuator module

This commit is contained in:
José Carlos Valero Sánchez
2018-01-11 08:27:15 +00:00
parent f59f7b2123
commit 9ff8a53c7d
14 changed files with 16 additions and 228 deletions
@@ -17,6 +17,7 @@ public class SecurityConfig {
public SecurityWebFilterChain securitygWebFilterChain(ServerHttpSecurity http) {
return http.authorizeExchange()
.pathMatchers("/admin").hasAuthority("ROLE_ADMIN")
.pathMatchers("/actuator/**").permitAll()
.anyExchange().authenticated()
.and().formLogin()
.and().build();