From 9e1c438f97a40c7b011f39876d9aaf88a014be31 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 03:09:04 +0000 Subject: [PATCH 1/4] Bump io.spring.javaformat:spring-javaformat-checkstyle Bumps [io.spring.javaformat:spring-javaformat-checkstyle](https://github.com/spring-io/spring-javaformat) from 0.0.25 to 0.0.41. - [Release notes](https://github.com/spring-io/spring-javaformat/releases) - [Commits](https://github.com/spring-io/spring-javaformat/compare/v0.0.25...v0.0.41) --- updated-dependencies: - dependency-name: io.spring.javaformat:spring-javaformat-checkstyle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 9da865240..9efbe4e08 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ allprojects { apply plugin: 'io.spring.javaformat' dependencies { - checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:0.0.25" + checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:0.0.41" } // Ensure every test task has at least a single test From d3fba5014e3c3edc9038752969bdb32c0cca5d7b Mon Sep 17 00:00:00 2001 From: Marcus Hert Da Coregio Date: Wed, 17 Jan 2024 14:25:18 -0300 Subject: [PATCH 2/4] Fix checkstyle errors (cherry picked from commit bd98343b9c624bbd526ce3385e23ac7dfb55a740) --- config/checkstyle/checkstyle.xml | 3 ++- .../integTest/java/example/HelloRSocketApplicationITests.java | 3 ++- .../hello-security/src/test/java/example/HelloTests.java | 1 + .../webflux-fn/hello/src/test/java/example/HelloTests.java | 1 + .../integTest/java/example/WebfluxFormApplicationITests.java | 1 + .../integTest/java/example/HelloSecurityExplicitITests.java | 3 ++- .../src/integTest/java/example/pages/HomePage.java | 3 ++- .../src/integTest/java/example/pages/LoginPage.java | 3 ++- .../src/test/java/example/HelloSecurityTests.java | 1 + .../src/test/java/example/HelloSecurityTests.java | 1 + .../webflux/java/hello/src/test/java/example/HelloTests.java | 1 + .../integTest/java/example/HelloMethodApplicationITests.java | 1 + .../src/test/java/example/HelloMethodApplicationTests.java | 1 + .../integTest/java/example/OAuth2LoginApplicationTests.java | 1 + .../src/main/java/example/ReactiveOAuth2LoginApplication.java | 1 + .../src/main/java/example/OAuth2ResourceServerController.java | 1 + .../java/example/ServerOAuth2ResourceServerApplication.java | 1 + .../main/java/org/springframework/boot/env/package-info.java | 1 + .../src/main/java/example/OAuth2WebClientController.java | 1 + .../main/java/example/OAuth2WebClientWebFluxApplication.java | 3 ++- .../example/RegisteredOAuth2AuthorizedClientController.java | 1 + .../webclient/src/main/java/example/SecurityConfiguration.java | 1 + .../preauth/src/integTest/java/example/HelloWorldTests.java | 3 ++- .../preauth/src/integTest/java/example/pages/HomePage.java | 3 ++- .../preauth/src/integTest/java/example/pages/LoginPage.java | 3 ++- .../preauth/src/main/java/example/IndexController.java | 3 ++- .../preauth/src/main/java/example/SecurityConfiguration.java | 3 ++- .../src/main/integTest/java/example/FormLoginTests.java | 3 ++- .../src/main/integTest/java/example/pages/CustomLoginPage.java | 3 ++- .../src/main/integTest/java/example/pages/HomePage.java | 3 ++- .../remember-me/src/main/java/example/IndexController.java | 3 ++- .../src/main/java/example/SecurityConfiguration.java | 3 ++- .../form/src/integTest/java/example/FormLoginTests.java | 3 ++- .../form/src/integTest/java/example/pages/CustomLoginPage.java | 3 ++- .../form/src/integTest/java/example/pages/HomePage.java | 3 ++- .../form/src/main/java/example/IndexController.java | 3 ++- .../form/src/main/java/example/SecurityConfiguration.java | 3 ++- .../in-memory/src/integTest/java/example/InMemoryTests.java | 3 ++- .../in-memory/src/integTest/java/example/pages/HomePage.java | 3 ++- .../in-memory/src/integTest/java/example/pages/LoginPage.java | 3 ++- .../in-memory/src/main/java/example/IndexController.java | 3 ++- .../in-memory/src/main/java/example/SecurityConfiguration.java | 3 ++- .../jdbc/src/integTest/java/example/JdbcTests.java | 3 ++- .../jdbc/src/integTest/java/example/pages/HomePage.java | 3 ++- .../jdbc/src/integTest/java/example/pages/LoginPage.java | 3 ++- .../jdbc/src/main/java/example/IndexController.java | 3 ++- .../jdbc/src/main/java/example/SecurityConfiguration.java | 3 ++- .../ldap/src/integTest/java/example/InMemoryTests.java | 3 ++- .../ldap/src/integTest/java/example/pages/HomePage.java | 3 ++- .../ldap/src/integTest/java/example/pages/LoginPage.java | 3 ++- .../ldap/src/main/java/example/IndexController.java | 3 ++- .../ldap/src/main/java/example/SecurityConfiguration.java | 3 ++- .../x509/src/integTest/java/example/X509Tests.java | 3 ++- .../x509/src/main/java/example/SecurityConfiguration.java | 3 ++- .../src/integTest/java/example/HelloWorldTests.java | 3 ++- .../src/integTest/java/example/pages/HomePage.java | 3 ++- .../src/integTest/java/example/pages/LoginPage.java | 3 ++- .../src/main/java/example/IndexController.java | 3 ++- .../src/main/java/example/SecurityConfiguration.java | 3 ++- .../src/integTest/java/example/HelloWorldTests.java | 3 ++- .../src/integTest/java/example/pages/HomePage.java | 3 ++- .../src/integTest/java/example/pages/LoginPage.java | 3 ++- .../src/main/java/example/SecurityConfiguration.java | 3 ++- .../main/java/example/SecurityWebApplicationInitializer.java | 3 ++- .../src/integTest/java/example/HelloWorldTests.java | 3 ++- .../src/integTest/java/example/pages/HomePage.java | 3 ++- .../src/integTest/java/example/pages/LoginPage.java | 3 ++- .../src/main/java/example/SecurityConfiguration.java | 3 ++- .../main/java/example/SecurityWebApplicationInitializer.java | 3 ++- .../src/integTest/java/example/MaxSessionsITests.java | 3 ++- .../src/integTest/java/example/pages/HomePage.java | 3 ++- .../src/integTest/java/example/pages/LoginPage.java | 3 ++- .../max-sessions/src/main/java/example/IndexController.java | 3 ++- .../saml2/login/src/main/java/example/IndexController.java | 3 ++- .../login/src/main/java/example/SecurityConfiguration.java | 3 ++- .../mfa/src/main/java/example/MfaApplication.java | 1 + .../mfa/src/test/java/example/MfaApplicationTests.java | 1 + .../integTest/java/example/HelloSecurityExplicitITests.java | 3 ++- .../custom-user/src/main/java/example/UserController.java | 3 ++- .../src/main/java/example/UserDetailsServiceApplication.java | 3 ++- .../test/java/example/UserDetailsServiceApplicationTests.java | 3 ++- .../integTest/java/example/HelloSecurityExplicitITests.java | 3 ++- .../src/integTest/java/example/pages/HomePage.java | 3 ++- .../src/integTest/java/example/pages/LoginPage.java | 3 ++- .../main/java/example/HelloSecurityExplicitApplication.java | 3 ++- .../src/main/java/example/IndexController.java | 3 ++- .../java/example/HelloSecurityExplicitApplicationTests.java | 3 ++- .../src/main/java/example/HelloSecurityApplication.java | 3 ++- .../hello-security/src/main/java/example/IndexController.java | 3 ++- .../src/test/java/example/HelloSecurityApplicationTests.java | 3 ++- .../java/hello/src/main/java/example/HelloApplication.java | 3 ++- .../java/hello/src/main/java/example/IndexController.java | 3 ++- .../hello/src/test/java/example/HelloApplicationTests.java | 3 ++- .../integTest/java/example/OAuth2LoginApplicationTests.java | 3 ++- .../login/src/main/java/example/OAuth2LoginApplication.java | 3 ++- .../login/src/main/java/example/web/OAuth2LoginController.java | 3 ++- .../java/example/OAuth2ResourceServerApplicationITests.java | 3 ++- .../src/main/java/example/OAuth2ResourceServerApplication.java | 3 ++- .../src/main/java/example/OAuth2ResourceServerController.java | 3 ++- .../example/OAuth2ResourceServerSecurityConfiguration.java | 3 ++- .../main/java/org/springframework/boot/env/package-info.java | 1 + .../test/java/example/OAuth2ResourceServerControllerTests.java | 3 ++- .../java/example/OAuth2ResourceServerApplicationITests.java | 1 + .../src/main/java/example/OAuth2ResourceServerApplication.java | 1 + .../src/main/java/example/OAuth2ResourceServerController.java | 1 + .../example/OAuth2ResourceServerSecurityConfiguration.java | 1 + .../main/java/org/springframework/boot/env/package-info.java | 1 + .../java/example/OAuth2ResourceServerApplicationITests.java | 1 + .../src/main/java/example/OAuth2ResourceServerApplication.java | 1 + .../src/main/java/example/OAuth2ResourceServerController.java | 1 + .../example/OAuth2ResourceServerSecurityConfiguration.java | 3 ++- .../main/java/org/springframework/boot/env/package-info.java | 1 + .../java/example/OAuth2ResourceServerApplicationITests.java | 1 + .../src/main/java/example/OAuth2ResourceServerApplication.java | 1 + .../src/main/java/example/OAuth2ResourceServerController.java | 1 + .../example/OAuth2ResourceServerSecurityConfiguration.java | 1 + .../main/java/org/springframework/boot/env/package-info.java | 1 + .../test/java/example/OAuth2ResourceServerControllerTests.java | 1 + .../java/example/OAuth2ResourceServerApplicationITests.java | 1 + .../src/main/java/example/OAuth2ResourceServerApplication.java | 1 + .../src/main/java/example/OAuth2ResourceServerController.java | 1 + .../example/OAuth2ResourceServerSecurityConfiguration.java | 1 + .../src/main/java/example/OAuth2WebClientApplication.java | 1 + .../src/main/java/example/OAuth2WebClientController.java | 1 + .../example/RegisteredOAuth2AuthorizedClientController.java | 1 + .../webclient/src/main/java/example/SecurityConfiguration.java | 1 + .../org/springframework/security/samples/KotlinApplication.kt | 3 ++- 127 files changed, 212 insertions(+), 85 deletions(-) diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index d124e158d..247fd9645 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -12,6 +12,7 @@ org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction.*, org.springframework.security.test.web.servlet.response.SecurityMockMvcResultMatchers.*" /> + @@ -46,4 +47,4 @@ - \ No newline at end of file + diff --git a/reactive/rsocket/hello-security/src/integTest/java/example/HelloRSocketApplicationITests.java b/reactive/rsocket/hello-security/src/integTest/java/example/HelloRSocketApplicationITests.java index 8efc99af8..2bff17d76 100644 --- a/reactive/rsocket/hello-security/src/integTest/java/example/HelloRSocketApplicationITests.java +++ b/reactive/rsocket/hello-security/src/integTest/java/example/HelloRSocketApplicationITests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import io.rsocket.metadata.WellKnownMimeType; diff --git a/reactive/webflux-fn/hello-security/src/test/java/example/HelloTests.java b/reactive/webflux-fn/hello-security/src/test/java/example/HelloTests.java index c338dfd8d..be830d1ac 100644 --- a/reactive/webflux-fn/hello-security/src/test/java/example/HelloTests.java +++ b/reactive/webflux-fn/hello-security/src/test/java/example/HelloTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/reactive/webflux-fn/hello/src/test/java/example/HelloTests.java b/reactive/webflux-fn/hello/src/test/java/example/HelloTests.java index 62effa3da..84dfa222f 100644 --- a/reactive/webflux-fn/hello/src/test/java/example/HelloTests.java +++ b/reactive/webflux-fn/hello/src/test/java/example/HelloTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/reactive/webflux/java/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java b/reactive/webflux/java/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java index 3623ed9a3..487c509c2 100644 --- a/reactive/webflux/java/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java +++ b/reactive/webflux/java/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import com.gargoylesoftware.htmlunit.BrowserVersion; diff --git a/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java b/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java index f295677ea..b39a9d5fc 100644 --- a/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java +++ b/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java b/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java index 1e635cd11..a41ed0890 100644 --- a/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java +++ b/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java b/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java index 319e70ca4..d4e6d3795 100644 --- a/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java +++ b/reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/reactive/webflux/java/hello-security-explicit/src/test/java/example/HelloSecurityTests.java b/reactive/webflux/java/hello-security-explicit/src/test/java/example/HelloSecurityTests.java index 4038b8b6f..87478ab39 100644 --- a/reactive/webflux/java/hello-security-explicit/src/test/java/example/HelloSecurityTests.java +++ b/reactive/webflux/java/hello-security-explicit/src/test/java/example/HelloSecurityTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/reactive/webflux/java/hello-security/src/test/java/example/HelloSecurityTests.java b/reactive/webflux/java/hello-security/src/test/java/example/HelloSecurityTests.java index 8bcb762f5..0c2a80ea0 100644 --- a/reactive/webflux/java/hello-security/src/test/java/example/HelloSecurityTests.java +++ b/reactive/webflux/java/hello-security/src/test/java/example/HelloSecurityTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/reactive/webflux/java/hello/src/test/java/example/HelloTests.java b/reactive/webflux/java/hello/src/test/java/example/HelloTests.java index 54a365ba7..be65a9f3d 100644 --- a/reactive/webflux/java/hello/src/test/java/example/HelloTests.java +++ b/reactive/webflux/java/hello/src/test/java/example/HelloTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/reactive/webflux/java/method/src/integTest/java/example/HelloMethodApplicationITests.java b/reactive/webflux/java/method/src/integTest/java/example/HelloMethodApplicationITests.java index 1a1b675ec..4abf4fc2e 100644 --- a/reactive/webflux/java/method/src/integTest/java/example/HelloMethodApplicationITests.java +++ b/reactive/webflux/java/method/src/integTest/java/example/HelloMethodApplicationITests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.util.function.Consumer; diff --git a/reactive/webflux/java/method/src/test/java/example/HelloMethodApplicationTests.java b/reactive/webflux/java/method/src/test/java/example/HelloMethodApplicationTests.java index 1b8f70187..b1541eda4 100644 --- a/reactive/webflux/java/method/src/test/java/example/HelloMethodApplicationTests.java +++ b/reactive/webflux/java/method/src/test/java/example/HelloMethodApplicationTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/reactive/webflux/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java b/reactive/webflux/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java index a8d123388..cc9269da5 100644 --- a/reactive/webflux/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java +++ b/reactive/webflux/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/reactive/webflux/java/oauth2/login/src/main/java/example/ReactiveOAuth2LoginApplication.java b/reactive/webflux/java/oauth2/login/src/main/java/example/ReactiveOAuth2LoginApplication.java index b014cf37a..94bd18d4e 100644 --- a/reactive/webflux/java/oauth2/login/src/main/java/example/ReactiveOAuth2LoginApplication.java +++ b/reactive/webflux/java/oauth2/login/src/main/java/example/ReactiveOAuth2LoginApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/reactive/webflux/java/oauth2/resource-server/src/main/java/example/OAuth2ResourceServerController.java b/reactive/webflux/java/oauth2/resource-server/src/main/java/example/OAuth2ResourceServerController.java index bbeae0add..a974976c6 100644 --- a/reactive/webflux/java/oauth2/resource-server/src/main/java/example/OAuth2ResourceServerController.java +++ b/reactive/webflux/java/oauth2/resource-server/src/main/java/example/OAuth2ResourceServerController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/reactive/webflux/java/oauth2/resource-server/src/main/java/example/ServerOAuth2ResourceServerApplication.java b/reactive/webflux/java/oauth2/resource-server/src/main/java/example/ServerOAuth2ResourceServerApplication.java index 6aa486a26..f5bef0d76 100644 --- a/reactive/webflux/java/oauth2/resource-server/src/main/java/example/ServerOAuth2ResourceServerApplication.java +++ b/reactive/webflux/java/oauth2/resource-server/src/main/java/example/ServerOAuth2ResourceServerApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/reactive/webflux/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/package-info.java b/reactive/webflux/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/package-info.java index 61a6767a6..d1203050d 100644 --- a/reactive/webflux/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/package-info.java +++ b/reactive/webflux/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/package-info.java @@ -20,4 +20,5 @@ * * @author Rob Winch */ + package org.springframework.boot.env; diff --git a/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java b/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java index e0eccda60..e1433f1f1 100644 --- a/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java +++ b/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import reactor.core.publisher.Mono; diff --git a/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientWebFluxApplication.java b/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientWebFluxApplication.java index 35ca85d2b..c4377ec1b 100644 --- a/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientWebFluxApplication.java +++ b/reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientWebFluxApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/reactive/webflux/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java b/reactive/webflux/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java index 89c705799..94376e35f 100644 --- a/reactive/webflux/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java +++ b/reactive/webflux/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import reactor.core.publisher.Mono; diff --git a/reactive/webflux/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java b/reactive/webflux/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java index 3b20618b5..1f1717b05 100644 --- a/reactive/webflux/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java +++ b/reactive/webflux/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/authentication/preauth/src/integTest/java/example/HelloWorldTests.java b/servlet/java-configuration/authentication/preauth/src/integTest/java/example/HelloWorldTests.java index 335f2490c..44eb50e45 100644 --- a/servlet/java-configuration/authentication/preauth/src/integTest/java/example/HelloWorldTests.java +++ b/servlet/java-configuration/authentication/preauth/src/integTest/java/example/HelloWorldTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/HomePage.java index 5cd72a349..12451db14 100644 --- a/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/LoginPage.java index 25bcec38d..6acbda885 100644 --- a/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/preauth/src/main/java/example/IndexController.java b/servlet/java-configuration/authentication/preauth/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/authentication/preauth/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/authentication/preauth/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/authentication/preauth/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/authentication/preauth/src/main/java/example/SecurityConfiguration.java index 820b0dc04..da329d7e2 100644 --- a/servlet/java-configuration/authentication/preauth/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/authentication/preauth/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2023 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/FormLoginTests.java b/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/FormLoginTests.java index 75e168e0c..294be0a99 100644 --- a/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/FormLoginTests.java +++ b/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/FormLoginTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.CustomLoginPage; diff --git a/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/CustomLoginPage.java b/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/CustomLoginPage.java index 3aca739cd..b4dbfc708 100644 --- a/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/CustomLoginPage.java +++ b/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/CustomLoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/HomePage.java index 48bcc818b..56d3fe141 100644 --- a/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/remember-me/src/main/java/example/IndexController.java b/servlet/java-configuration/authentication/remember-me/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/authentication/remember-me/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/authentication/remember-me/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/authentication/remember-me/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/authentication/remember-me/src/main/java/example/SecurityConfiguration.java index 718d71e18..1d3ea17f5 100644 --- a/servlet/java-configuration/authentication/remember-me/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/authentication/remember-me/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/FormLoginTests.java b/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/FormLoginTests.java index 75e168e0c..294be0a99 100644 --- a/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/FormLoginTests.java +++ b/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/FormLoginTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.CustomLoginPage; diff --git a/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/CustomLoginPage.java b/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/CustomLoginPage.java index 3aca739cd..b4dbfc708 100644 --- a/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/CustomLoginPage.java +++ b/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/CustomLoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/HomePage.java index 48bcc818b..56d3fe141 100644 --- a/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/form/src/main/java/example/IndexController.java b/servlet/java-configuration/authentication/username-password/form/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/authentication/username-password/form/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/authentication/username-password/form/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/authentication/username-password/form/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/authentication/username-password/form/src/main/java/example/SecurityConfiguration.java index ddd21012e..637f698dd 100644 --- a/servlet/java-configuration/authentication/username-password/form/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/authentication/username-password/form/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/InMemoryTests.java b/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/InMemoryTests.java index a3ab5c60f..6624e2b4c 100644 --- a/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/InMemoryTests.java +++ b/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/InMemoryTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/HomePage.java index 5cd72a349..12451db14 100644 --- a/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/LoginPage.java index 25bcec38d..6acbda885 100644 --- a/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/authentication/username-password/in-memory/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/IndexController.java b/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/SecurityConfiguration.java index bb78a1065..a17c96256 100644 --- a/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/authentication/username-password/in-memory/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/JdbcTests.java b/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/JdbcTests.java index 77f3de48a..589ebdcbe 100644 --- a/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/JdbcTests.java +++ b/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/JdbcTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/HomePage.java index 5cd72a349..12451db14 100644 --- a/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/LoginPage.java index 25bcec38d..6acbda885 100644 --- a/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/authentication/username-password/jdbc/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/IndexController.java b/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/SecurityConfiguration.java index 1f12af3b1..4313e9b4f 100644 --- a/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/authentication/username-password/jdbc/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import javax.sql.DataSource; diff --git a/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/InMemoryTests.java b/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/InMemoryTests.java index a3ab5c60f..6624e2b4c 100644 --- a/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/InMemoryTests.java +++ b/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/InMemoryTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/HomePage.java index 5cd72a349..12451db14 100644 --- a/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/LoginPage.java index 25bcec38d..6acbda885 100644 --- a/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/authentication/username-password/ldap/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/IndexController.java b/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/SecurityConfiguration.java index d097166dc..d2a461149 100644 --- a/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/authentication/username-password/ldap/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/authentication/x509/src/integTest/java/example/X509Tests.java b/servlet/java-configuration/authentication/x509/src/integTest/java/example/X509Tests.java index 0d108ff34..7becae29b 100644 --- a/servlet/java-configuration/authentication/x509/src/integTest/java/example/X509Tests.java +++ b/servlet/java-configuration/authentication/x509/src/integTest/java/example/X509Tests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.security.KeyStore; diff --git a/servlet/java-configuration/authentication/x509/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/authentication/x509/src/main/java/example/SecurityConfiguration.java index 36c68320a..482bf8928 100644 --- a/servlet/java-configuration/authentication/x509/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/authentication/x509/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/HelloWorldTests.java b/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/HelloWorldTests.java index 84a3a7b0d..d2423e833 100644 --- a/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/HelloWorldTests.java +++ b/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/HelloWorldTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/HomePage.java index 5cd72a349..12451db14 100644 --- a/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/LoginPage.java index 3ef69d0fa..ad5fbc761 100644 --- a/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/hello-mvc-security/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/hello-mvc-security/src/main/java/example/IndexController.java b/servlet/java-configuration/hello-mvc-security/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/hello-mvc-security/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/hello-mvc-security/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/hello-mvc-security/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/hello-mvc-security/src/main/java/example/SecurityConfiguration.java index aeef46597..1debebac0 100644 --- a/servlet/java-configuration/hello-mvc-security/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/hello-mvc-security/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/HelloWorldTests.java b/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/HelloWorldTests.java index 1f3ac870d..9ea72ba8a 100644 --- a/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/HelloWorldTests.java +++ b/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/HelloWorldTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/HomePage.java index 4104688b9..fd7fab18e 100644 --- a/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java index 3ef69d0fa..ad5fbc761 100644 --- a/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityConfiguration.java index aeef46597..1debebac0 100644 --- a/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityWebApplicationInitializer.java b/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityWebApplicationInitializer.java index 63c9cc3c3..eff396850 100644 --- a/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityWebApplicationInitializer.java +++ b/servlet/java-configuration/hello-security-explicit/src/main/java/example/SecurityWebApplicationInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; diff --git a/servlet/java-configuration/hello-security/src/integTest/java/example/HelloWorldTests.java b/servlet/java-configuration/hello-security/src/integTest/java/example/HelloWorldTests.java index 1f3ac870d..9ea72ba8a 100644 --- a/servlet/java-configuration/hello-security/src/integTest/java/example/HelloWorldTests.java +++ b/servlet/java-configuration/hello-security/src/integTest/java/example/HelloWorldTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/hello-security/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/hello-security/src/integTest/java/example/pages/HomePage.java index 4104688b9..fd7fab18e 100644 --- a/servlet/java-configuration/hello-security/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/hello-security/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/hello-security/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/hello-security/src/integTest/java/example/pages/LoginPage.java index 25bcec38d..6acbda885 100644 --- a/servlet/java-configuration/hello-security/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/hello-security/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/hello-security/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/hello-security/src/main/java/example/SecurityConfiguration.java index 75c4e624b..94239dc7e 100644 --- a/servlet/java-configuration/hello-security/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/hello-security/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/java-configuration/hello-security/src/main/java/example/SecurityWebApplicationInitializer.java b/servlet/java-configuration/hello-security/src/main/java/example/SecurityWebApplicationInitializer.java index 63c9cc3c3..eff396850 100644 --- a/servlet/java-configuration/hello-security/src/main/java/example/SecurityWebApplicationInitializer.java +++ b/servlet/java-configuration/hello-security/src/main/java/example/SecurityWebApplicationInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; diff --git a/servlet/java-configuration/max-sessions/src/integTest/java/example/MaxSessionsITests.java b/servlet/java-configuration/max-sessions/src/integTest/java/example/MaxSessionsITests.java index a32e6d1a0..d9338af3e 100644 --- a/servlet/java-configuration/max-sessions/src/integTest/java/example/MaxSessionsITests.java +++ b/servlet/java-configuration/max-sessions/src/integTest/java/example/MaxSessionsITests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/HomePage.java b/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/HomePage.java index a268ea05b..389cc3c13 100644 --- a/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/HomePage.java +++ b/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/LoginPage.java b/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/LoginPage.java index 25bcec38d..6acbda885 100644 --- a/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/java-configuration/max-sessions/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/java-configuration/max-sessions/src/main/java/example/IndexController.java b/servlet/java-configuration/max-sessions/src/main/java/example/IndexController.java index 0f1c67b87..466bb926a 100644 --- a/servlet/java-configuration/max-sessions/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/max-sessions/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/java-configuration/saml2/login/src/main/java/example/IndexController.java b/servlet/java-configuration/saml2/login/src/main/java/example/IndexController.java index 424d3f032..147ee6444 100644 --- a/servlet/java-configuration/saml2/login/src/main/java/example/IndexController.java +++ b/servlet/java-configuration/saml2/login/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2021 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/servlet/java-configuration/saml2/login/src/main/java/example/SecurityConfiguration.java b/servlet/java-configuration/saml2/login/src/main/java/example/SecurityConfiguration.java index b5fd47816..3272182eb 100644 --- a/servlet/java-configuration/saml2/login/src/main/java/example/SecurityConfiguration.java +++ b/servlet/java-configuration/saml2/login/src/main/java/example/SecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.io.InputStream; diff --git a/servlet/spring-boot/java/authentication/username-password/mfa/src/main/java/example/MfaApplication.java b/servlet/spring-boot/java/authentication/username-password/mfa/src/main/java/example/MfaApplication.java index 17cbe8713..23417f0ac 100644 --- a/servlet/spring-boot/java/authentication/username-password/mfa/src/main/java/example/MfaApplication.java +++ b/servlet/spring-boot/java/authentication/username-password/mfa/src/main/java/example/MfaApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.util.HashMap; diff --git a/servlet/spring-boot/java/authentication/username-password/mfa/src/test/java/example/MfaApplicationTests.java b/servlet/spring-boot/java/authentication/username-password/mfa/src/test/java/example/MfaApplicationTests.java index b8e6d7e8b..67c099e6b 100644 --- a/servlet/spring-boot/java/authentication/username-password/mfa/src/test/java/example/MfaApplicationTests.java +++ b/servlet/spring-boot/java/authentication/username-password/mfa/src/test/java/example/MfaApplicationTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import com.j256.twofactorauth.TimeBasedOneTimePasswordUtil; diff --git a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/integTest/java/example/HelloSecurityExplicitITests.java b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/integTest/java/example/HelloSecurityExplicitITests.java index a66010a1a..7cc8fa0bd 100644 --- a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/integTest/java/example/HelloSecurityExplicitITests.java +++ b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/integTest/java/example/HelloSecurityExplicitITests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserController.java b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserController.java index 463497cf3..b6805af42 100644 --- a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserController.java +++ b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.web.bind.annotation.GetMapping; diff --git a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserDetailsServiceApplication.java b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserDetailsServiceApplication.java index cb71f6eb1..39908c272 100644 --- a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserDetailsServiceApplication.java +++ b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/main/java/example/UserDetailsServiceApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.util.HashMap; diff --git a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/test/java/example/UserDetailsServiceApplicationTests.java b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/test/java/example/UserDetailsServiceApplicationTests.java index 204731a91..564819f03 100644 --- a/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/test/java/example/UserDetailsServiceApplicationTests.java +++ b/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user/src/test/java/example/UserDetailsServiceApplicationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java b/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java index f295677ea..b39a9d5fc 100644 --- a/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java +++ b/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import example.pages.HomePage; diff --git a/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java b/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java index 1e635cd11..a41ed0890 100644 --- a/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java +++ b/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java b/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java index 319e70ca4..d4e6d3795 100644 --- a/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java +++ b/servlet/spring-boot/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.pages; import org.openqa.selenium.WebDriver; diff --git a/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/HelloSecurityExplicitApplication.java b/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/HelloSecurityExplicitApplication.java index a0dc07fdb..b4dace01b 100644 --- a/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/HelloSecurityExplicitApplication.java +++ b/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/HelloSecurityExplicitApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/IndexController.java b/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/IndexController.java index 787a0ef72..2114050dd 100644 --- a/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/IndexController.java +++ b/servlet/spring-boot/java/hello-security-explicit/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/spring-boot/java/hello-security-explicit/src/test/java/example/HelloSecurityExplicitApplicationTests.java b/servlet/spring-boot/java/hello-security-explicit/src/test/java/example/HelloSecurityExplicitApplicationTests.java index 44f32af06..b72f6d385 100644 --- a/servlet/spring-boot/java/hello-security-explicit/src/test/java/example/HelloSecurityExplicitApplicationTests.java +++ b/servlet/spring-boot/java/hello-security-explicit/src/test/java/example/HelloSecurityExplicitApplicationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/hello-security/src/main/java/example/HelloSecurityApplication.java b/servlet/spring-boot/java/hello-security/src/main/java/example/HelloSecurityApplication.java index d26817b34..994d78c5e 100644 --- a/servlet/spring-boot/java/hello-security/src/main/java/example/HelloSecurityApplication.java +++ b/servlet/spring-boot/java/hello-security/src/main/java/example/HelloSecurityApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/hello-security/src/main/java/example/IndexController.java b/servlet/spring-boot/java/hello-security/src/main/java/example/IndexController.java index 787a0ef72..2114050dd 100644 --- a/servlet/spring-boot/java/hello-security/src/main/java/example/IndexController.java +++ b/servlet/spring-boot/java/hello-security/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/spring-boot/java/hello-security/src/test/java/example/HelloSecurityApplicationTests.java b/servlet/spring-boot/java/hello-security/src/test/java/example/HelloSecurityApplicationTests.java index 119dd4df3..56b0c0e8e 100644 --- a/servlet/spring-boot/java/hello-security/src/test/java/example/HelloSecurityApplicationTests.java +++ b/servlet/spring-boot/java/hello-security/src/test/java/example/HelloSecurityApplicationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/hello/src/main/java/example/HelloApplication.java b/servlet/spring-boot/java/hello/src/main/java/example/HelloApplication.java index 22b5d4363..6bd754a1e 100644 --- a/servlet/spring-boot/java/hello/src/main/java/example/HelloApplication.java +++ b/servlet/spring-boot/java/hello/src/main/java/example/HelloApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/hello/src/main/java/example/IndexController.java b/servlet/spring-boot/java/hello/src/main/java/example/IndexController.java index 787a0ef72..2114050dd 100644 --- a/servlet/spring-boot/java/hello/src/main/java/example/IndexController.java +++ b/servlet/spring-boot/java/hello/src/main/java/example/IndexController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/spring-boot/java/hello/src/test/java/example/HelloApplicationTests.java b/servlet/spring-boot/java/hello/src/test/java/example/HelloApplicationTests.java index 031d945db..ac8c2a2d0 100644 --- a/servlet/spring-boot/java/hello/src/test/java/example/HelloApplicationTests.java +++ b/servlet/spring-boot/java/hello/src/test/java/example/HelloApplicationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java b/servlet/spring-boot/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java index bd1519fd5..8498686fa 100644 --- a/servlet/spring-boot/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java +++ b/servlet/spring-boot/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.net.URI; diff --git a/servlet/spring-boot/java/oauth2/login/src/main/java/example/OAuth2LoginApplication.java b/servlet/spring-boot/java/oauth2/login/src/main/java/example/OAuth2LoginApplication.java index 687a76ff1..171f76384 100644 --- a/servlet/spring-boot/java/oauth2/login/src/main/java/example/OAuth2LoginApplication.java +++ b/servlet/spring-boot/java/oauth2/login/src/main/java/example/OAuth2LoginApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/oauth2/login/src/main/java/example/web/OAuth2LoginController.java b/servlet/spring-boot/java/oauth2/login/src/main/java/example/web/OAuth2LoginController.java index b91ab3671..eb65fa6d8 100644 --- a/servlet/spring-boot/java/oauth2/login/src/main/java/example/web/OAuth2LoginController.java +++ b/servlet/spring-boot/java/oauth2/login/src/main/java/example/web/OAuth2LoginController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example.web; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java index 37b7b2982..1c8364f6b 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerApplication.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerApplication.java index b775e76bc..f3e76e7a5 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerApplication.java +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerController.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerController.java index 39d2d68fe..fa06e1080 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerController.java +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerController.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java index 94578241f..8c7931e42 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.beans.factory.annotation.Value; diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/package-info.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/package-info.java index 61a6767a6..d1203050d 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/package-info.java +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/package-info.java @@ -20,4 +20,5 @@ * * @author Rob Winch */ + package org.springframework.boot.env; diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/test/java/example/OAuth2ResourceServerControllerTests.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/test/java/example/OAuth2ResourceServerControllerTests.java index 4e0fd335c..4943af6ec 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/test/java/example/OAuth2ResourceServerControllerTests.java +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/test/java/example/OAuth2ResourceServerControllerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java index 161ec16cb..aa271740d 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java +++ b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerApplication.java b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerApplication.java index 5f2c037e5..2d74d61e6 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerApplication.java +++ b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerController.java b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerController.java index 5b40b4b37..6f3d1f137 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerController.java +++ b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java index 5b9aff988..eb4e5fda6 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java +++ b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.net.URL; diff --git a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/org/springframework/boot/env/package-info.java b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/org/springframework/boot/env/package-info.java index 7d56b91d3..29da6f7ac 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/org/springframework/boot/env/package-info.java +++ b/servlet/spring-boot/java/oauth2/resource-server/jwe/src/main/java/org/springframework/boot/env/package-info.java @@ -19,4 +19,5 @@ * {@link org.springframework.core.env.Environment}. * @author Rob Winch */ + package org.springframework.boot.env; diff --git a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java index 205acd3b3..14ef266b7 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java +++ b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerApplication.java b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerApplication.java index af55f05c2..9554b5343 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerApplication.java +++ b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerController.java b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerController.java index 5388654fa..e8faa2831 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerController.java +++ b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java index d0d9d4474..9f113c447 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java +++ b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2021 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.util.HashMap; diff --git a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/org/springframework/boot/env/package-info.java b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/org/springframework/boot/env/package-info.java index 55f0614f7..a8262b66d 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/org/springframework/boot/env/package-info.java +++ b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/src/main/java/org/springframework/boot/env/package-info.java @@ -19,4 +19,5 @@ * {@link org.springframework.core.env.Environment}. * @author Rob Winch */ + package org.springframework.boot.env; diff --git a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java index 51c3027f1..a591f9744 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java +++ b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerApplication.java b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerApplication.java index 9293938ea..36ec1038e 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerApplication.java +++ b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerController.java b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerController.java index 64afe3f5f..1fb3e2953 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerController.java +++ b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java index 09e8980ae..e24c13933 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java +++ b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.beans.factory.annotation.Value; diff --git a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/org/springframework/boot/env/package-info.java b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/org/springframework/boot/env/package-info.java index aa36737ea..5f880cce6 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/org/springframework/boot/env/package-info.java +++ b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/main/java/org/springframework/boot/env/package-info.java @@ -20,4 +20,5 @@ * * @author Rob Winch */ + package org.springframework.boot.env; diff --git a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/test/java/example/OAuth2ResourceServerControllerTests.java b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/test/java/example/OAuth2ResourceServerControllerTests.java index 38a19d656..ccbab6c20 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/opaque/src/test/java/example/OAuth2ResourceServerControllerTests.java +++ b/servlet/spring-boot/java/oauth2/resource-server/opaque/src/test/java/example/OAuth2ResourceServerControllerTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/resource-server/static/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java b/servlet/spring-boot/java/oauth2/resource-server/static/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java index b60ada1d7..3f55c6e79 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/static/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java +++ b/servlet/spring-boot/java/oauth2/resource-server/static/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.junit.jupiter.api.Test; diff --git a/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerApplication.java b/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerApplication.java index 3eda9a25c..7edf42cf1 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerApplication.java +++ b/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerController.java b/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerController.java index 690173547..0f652aa7e 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerController.java +++ b/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.core.annotation.AuthenticationPrincipal; diff --git a/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java b/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java index c41ab4a90..6ed3863dd 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java +++ b/servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import java.security.interfaces.RSAPublicKey; diff --git a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientApplication.java b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientApplication.java index 1ebf1ef89..83937b7c8 100644 --- a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientApplication.java +++ b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.boot.SpringApplication; diff --git a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java index 7e4582d27..2150eecd1 100644 --- a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java +++ b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.stereotype.Controller; diff --git a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java index 0371fed26..cb9990e99 100644 --- a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java +++ b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.security.oauth2.client.OAuth2AuthorizedClient; diff --git a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java index a76221b64..7b5b3a234 100644 --- a/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java +++ b/servlet/spring-boot/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package example; import org.springframework.context.annotation.Bean; diff --git a/servlet/spring-boot/kotlin/hello-security/src/main/kotlin/org/springframework/security/samples/KotlinApplication.kt b/servlet/spring-boot/kotlin/hello-security/src/main/kotlin/org/springframework/security/samples/KotlinApplication.kt index 1d7c7b28f..b8b546855 100644 --- a/servlet/spring-boot/kotlin/hello-security/src/main/kotlin/org/springframework/security/samples/KotlinApplication.kt +++ b/servlet/spring-boot/kotlin/hello-security/src/main/kotlin/org/springframework/security/samples/KotlinApplication.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.security.samples import org.springframework.boot.autoconfigure.SpringBootApplication From b7700362754abf462d469908c42e86dafd06ca64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 03:09:08 +0000 Subject: [PATCH 3/4] Bump io.spring.ge.conventions from 0.0.14 to 0.0.15 Bumps [io.spring.ge.conventions](https://github.com/spring-io/gradle-enterprise-conventions) from 0.0.14 to 0.0.15. - [Release notes](https://github.com/spring-io/gradle-enterprise-conventions/releases) - [Commits](https://github.com/spring-io/gradle-enterprise-conventions/compare/v0.0.14...v0.0.15) --- updated-dependencies: - dependency-name: io.spring.ge.conventions dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 3b14f8e69..37ba48327 100644 --- a/settings.gradle +++ b/settings.gradle @@ -16,7 +16,7 @@ pluginManagement { plugins { id "com.gradle.enterprise" version "3.10.2" - id "io.spring.ge.conventions" version "0.0.14" + id "io.spring.ge.conventions" version "0.0.15" } include ":reactive:rsocket:hello-security" From ec66e3c2632d1a42e5f621ccc020a13ec747e4f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 03:09:00 +0000 Subject: [PATCH 4/4] Bump org.springframework.boot from 3.1.7 to 3.1.8 Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 3.1.7 to 3.1.8. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.1.7...v3.1.8) --- updated-dependencies: - dependency-name: org.springframework.boot dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 72c0ec40a..fcc0ea54e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -org-springframework-boot = "3.1.7" +org-springframework-boot = "3.1.8" [libraries] org-springframework-spring-framework-bom = "org.springframework:spring-framework-bom:6.0.16"