diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index d124e15..247fd96 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 8efc99a..2bff17d 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 c338dfd..be830d1 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 62effa3..84dfa22 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 3623ed9..487c509 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 f295677..b39a9d5 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 1e635cd..a41ed08 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 319e70c..d4e6d37 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 4038b8b..87478ab 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 8bcb762..0c2a80e 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 54a365b..be65a9f 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 1a1b675..4abf4fc 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 1b8f701..b1541ed 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 a8d1233..cc9269d 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 b014cf3..94bd18d 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 bbeae0a..a974976 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 6aa486a..f5bef0d 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 61a6767..d120305 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 e0eccda..e1433f1 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 35ca85d..c4377ec 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 89c7057..94376e3 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 3b20618..1f1717b 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 335f249..44eb50e 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 5cd72a3..12451db 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 25bcec3..6acbda8 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 0f1c67b..466bb92 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 820b0dc..da329d7 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 75e168e..294be0a 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 3aca739..b4dbfc7 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 48bcc81..56d3fe1 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 0f1c67b..466bb92 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 718d71e..1d3ea17 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 75e168e..294be0a 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 3aca739..b4dbfc7 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 48bcc81..56d3fe1 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 0f1c67b..466bb92 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 ddd2101..637f698 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 a3ab5c6..6624e2b 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 5cd72a3..12451db 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 25bcec3..6acbda8 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 0f1c67b..466bb92 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 bb78a10..a17c962 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 77f3de4..589ebdc 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 5cd72a3..12451db 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 25bcec3..6acbda8 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 0f1c67b..466bb92 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 1f12af3..4313e9b 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 a3ab5c6..6624e2b 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 5cd72a3..12451db 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 25bcec3..6acbda8 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 0f1c67b..466bb92 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 d097166..d2a4611 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 0d108ff..7becae2 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 36c6832..482bf89 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 84a3a7b..d2423e8 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 5cd72a3..12451db 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 3ef69d0..ad5fbc7 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 0f1c67b..466bb92 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 aeef465..1debeba 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 1f3ac87..9ea72ba 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 4104688..fd7fab1 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 3ef69d0..ad5fbc7 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 aeef465..1debeba 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 63c9cc3..eff3968 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 1f3ac87..9ea72ba 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 4104688..fd7fab1 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 25bcec3..6acbda8 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 75c4e62..94239dc 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 63c9cc3..eff3968 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 a32e6d1..d9338af 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 a268ea0..389cc3c 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 25bcec3..6acbda8 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 0f1c67b..466bb92 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 424d3f0..147ee64 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 b5fd478..3272182 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 17cbe87..23417f0 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 b8e6d7e..67c099e 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 a66010a..7cc8fa0 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 463497c..b6805af 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 cb71f6e..39908c2 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 204731a..564819f 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 f295677..b39a9d5 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 1e635cd..a41ed08 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 319e70c..d4e6d37 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 a0dc07f..b4dace0 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 787a0ef..2114050 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 44f32af..b72f6d3 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 d26817b..994d78c 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 787a0ef..2114050 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 119dd4d..56b0c0e 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 22b5d43..6bd754a 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 787a0ef..2114050 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 031d945..ac8c2a2 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 bd1519f..8498686 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 687a76f..171f763 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 b91ab36..eb65fa6 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 37b7b29..1c8364f 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 b775e76..f3e76e7 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 39d2d68..fa06e10 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 9457824..8c7931e 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 61a6767..d120305 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 4e0fd33..4943af6 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 161ec16..aa27174 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 5f2c037..2d74d61 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 5b40b4b..6f3d1f1 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 5b9aff9..eb4e5fd 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 7d56b91..29da6f7 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 205acd3..14ef266 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 af55f05..9554b53 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 5388654..e8faa28 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 d0d9d44..9f113c4 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 55f0614..a8262b6 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 51c3027..a591f97 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 9293938..36ec103 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 64afe3f..1fb3e29 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 09e8980..e24c139 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 aa36737..5f880cc 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 38a19d6..ccbab6c 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 b60ada1..3f55c6e 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 3eda9a2..7edf42c 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 6901735..0f652aa 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 c41ab4a..6ed3863 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 1ebf1ef..83937b7 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 7e4582d..2150eec 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 0371fed..cb9990e 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 a76221b..7b5b3a2 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 1d7c7b2..b8b5468 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