diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java index ec625073f0..720a25e910 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java @@ -97,7 +97,7 @@ public class MetricFilterAutoConfiguration { try { httpStatus = HttpStatus.valueOf(status); } - catch (Exception e) { + catch (Exception ex) { // not convertible } if (bestMatchingPattern != null) { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java index 256b1d43e9..5436f511d3 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java @@ -127,6 +127,7 @@ public class AuthenticationManagerConfiguration extends GlobalAuthenticationConfigurerAdapter { private AuthenticationManagerBuilder defaultAuth; + private AuthenticationManager parent; public void configureParent(AuthenticationManagerBuilder auth) {