diff --git a/config/src/main/kotlin/org/springframework/security/config/web/servlet/OAuth2LoginDsl.kt b/config/src/main/kotlin/org/springframework/security/config/web/servlet/OAuth2LoginDsl.kt index 77471e71b3..1504e90ac2 100644 --- a/config/src/main/kotlin/org/springframework/security/config/web/servlet/OAuth2LoginDsl.kt +++ b/config/src/main/kotlin/org/springframework/security/config/web/servlet/OAuth2LoginDsl.kt @@ -130,8 +130,8 @@ class OAuth2LoginDsl { * @EnableWebSecurity * class SecurityConfig { * - * @Bean - * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { + * @Bean + * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { * http { * oauth2Login { * tokenEndpoint { @@ -140,7 +140,7 @@ class OAuth2LoginDsl { * } * } * return http.build() - * } + * } * } * ``` * @@ -161,8 +161,8 @@ class OAuth2LoginDsl { * @EnableWebSecurity * class SecurityConfig { * - * @Bean - * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { + * @Bean + * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { * http { * oauth2Login { * redirectionEndpoint { @@ -171,7 +171,7 @@ class OAuth2LoginDsl { * } * } * return http.build() - * } + * } * } * ``` * @@ -192,8 +192,8 @@ class OAuth2LoginDsl { * @EnableWebSecurity * class SecurityConfig { * - * @Bean - * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { + * @Bean + * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { * http { * oauth2Login { * userInfoEndpoint { @@ -202,7 +202,7 @@ class OAuth2LoginDsl { * } * } * return http.build() - * } + * } * } * ``` * diff --git a/config/src/main/kotlin/org/springframework/security/config/web/servlet/SessionManagementDsl.kt b/config/src/main/kotlin/org/springframework/security/config/web/servlet/SessionManagementDsl.kt index 783a7bf49d..813cc1b41b 100644 --- a/config/src/main/kotlin/org/springframework/security/config/web/servlet/SessionManagementDsl.kt +++ b/config/src/main/kotlin/org/springframework/security/config/web/servlet/SessionManagementDsl.kt @@ -53,15 +53,15 @@ class SessionManagementDsl { * @EnableWebSecurity * class SecurityConfig { * - * @Bean - * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { + * @Bean + * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { * http { * sessionManagement { * sessionFixation { } * } * } * return http.build() - * } + * } * } * ``` * @@ -82,8 +82,8 @@ class SessionManagementDsl { * @EnableWebSecurity * class SecurityConfig { * - * @Bean - * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { + * @Bean + * fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { * http { * sessionManagement { * sessionConcurrency { @@ -93,7 +93,7 @@ class SessionManagementDsl { * } * } * return http.build() - * } + * } * } * ``` *