Skip to content

Commit f08d3a5

Browse files
committed
Remove unused parameter
1 parent e3cf078 commit f08d3a5

File tree

1 file changed

+1
-3
lines changed
  • spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/src/main/java/smoketest/actuator/customsecurity

1 file changed

+1
-3
lines changed

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/src/main/java/smoketest/actuator/customsecurity/SecurityConfiguration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.springframework.security.provisioning.InMemoryUserDetailsManager;
3232
import org.springframework.security.web.SecurityFilterChain;
3333
import org.springframework.security.web.servlet.util.matcher.PathPatternRequestMatcher;
34-
import org.springframework.web.servlet.handler.HandlerMappingIntrospector;
3534

3635
import static org.springframework.security.config.Customizer.withDefaults;
3736

@@ -57,8 +56,7 @@ private UserDetails createUserDetails(String username, String password, String..
5756
}
5857

5958
@Bean
60-
SecurityFilterChain configure(HttpSecurity http, HandlerMappingIntrospector handlerMappingIntrospector)
61-
throws Exception {
59+
SecurityFilterChain configure(HttpSecurity http) throws Exception {
6260
http.authorizeHttpRequests((requests) -> {
6361
requests.requestMatchers(PathPatternRequestMatcher.withDefaults().matcher("/actuator/beans"))
6462
.hasRole("BEANS");

0 commit comments

Comments
 (0)