Skip to content

Commit aabb164

Browse files
committed
Merge branch '2.7.x' into 3.0.x
Closes gh-35456
2 parents 339f597 + 2ad7a09 commit aabb164

File tree

1 file changed

+4
-3
lines changed
  • spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/actuator/endpoints/security/exposeall

1 file changed

+4
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/actuator/endpoints/security/exposeall/MySecurityConfiguration.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,8 +27,9 @@ class MySecurityConfiguration {
2727

2828
@Bean
2929
fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
30-
http.securityMatcher(EndpointRequest.toAnyEndpoint()).authorizeHttpRequests {
31-
requests -> requests.anyRequest().permitAll() }
30+
http.securityMatcher(EndpointRequest.toAnyEndpoint()).authorizeHttpRequests { requests ->
31+
requests.anyRequest().permitAll()
32+
}
3233
return http.build()
3334
}
3435

0 commit comments

Comments
 (0)