From 6b297cc3a3bbb5f2c36122d5c069951d4dddb69b Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Tue, 30 Aug 2022 13:10:35 -0500 Subject: [PATCH] Polish javadoc in Kotlin DSL Issue gh-11646 --- .../config/web/servlet/OAuth2LoginDsl.kt | 18 +++++++++--------- .../config/web/servlet/SessionManagementDsl.kt | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) 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() - * } + * } * } * ``` *