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