diff --git a/servlet/spring-boot/java/oauth2/resource-server/README.adoc b/servlet/spring-boot/java/oauth2/resource-server/hello-security/README.adoc similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/README.adoc rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/README.adoc diff --git a/servlet/spring-boot/java/oauth2/resource-server/build.gradle b/servlet/spring-boot/java/oauth2/resource-server/hello-security/build.gradle similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/build.gradle rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/build.gradle diff --git a/servlet/spring-boot/java/oauth2/resource-server/gradle.properties b/servlet/spring-boot/java/oauth2/resource-server/hello-security/gradle.properties similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/gradle.properties rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/gradle.properties diff --git a/servlet/spring-boot/java/oauth2/resource-server/gradle/wrapper/gradle-wrapper.jar b/servlet/spring-boot/java/oauth2/resource-server/hello-security/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/gradle/wrapper/gradle-wrapper.jar rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/gradle/wrapper/gradle-wrapper.jar diff --git a/servlet/spring-boot/java/oauth2/resource-server/gradle/wrapper/gradle-wrapper.properties b/servlet/spring-boot/java/oauth2/resource-server/hello-security/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/gradle/wrapper/gradle-wrapper.properties rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/gradle/wrapper/gradle-wrapper.properties diff --git a/servlet/spring-boot/java/oauth2/resource-server/gradlew b/servlet/spring-boot/java/oauth2/resource-server/hello-security/gradlew similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/gradlew rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/gradlew diff --git a/servlet/spring-boot/java/oauth2/resource-server/gradlew.bat b/servlet/spring-boot/java/oauth2/resource-server/hello-security/gradlew.bat similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/gradlew.bat rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/gradlew.bat diff --git a/servlet/spring-boot/java/oauth2/resource-server/settings.gradle b/servlet/spring-boot/java/oauth2/resource-server/hello-security/settings.gradle similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/settings.gradle rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/settings.gradle diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/integTest/java/sample/OAuth2ResourceServerApplicationITests.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/integTest/java/sample/OAuth2ResourceServerApplicationITests.java similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/integTest/java/sample/OAuth2ResourceServerApplicationITests.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/integTest/java/sample/OAuth2ResourceServerApplicationITests.java diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/MockWebServerEnvironmentPostProcessor.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/MockWebServerEnvironmentPostProcessor.java similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/MockWebServerEnvironmentPostProcessor.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/MockWebServerEnvironmentPostProcessor.java diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/MockWebServerPropertySource.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/MockWebServerPropertySource.java similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/MockWebServerPropertySource.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/MockWebServerPropertySource.java diff --git a/servlet/spring-boot/java/oauth2/resource-server/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 similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/package-info.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/org/springframework/boot/env/package-info.java diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/main/java/sample/OAuth2ResourceServerApplication.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/sample/OAuth2ResourceServerApplication.java similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/java/sample/OAuth2ResourceServerApplication.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/sample/OAuth2ResourceServerApplication.java diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/main/java/sample/OAuth2ResourceServerController.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/sample/OAuth2ResourceServerController.java similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/java/sample/OAuth2ResourceServerController.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/sample/OAuth2ResourceServerController.java diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/main/java/sample/OAuth2ResourceServerSecurityConfiguration.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/sample/OAuth2ResourceServerSecurityConfiguration.java similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/java/sample/OAuth2ResourceServerSecurityConfiguration.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/sample/OAuth2ResourceServerSecurityConfiguration.java diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/main/resources/META-INF/spring.factories b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/resources/META-INF/spring.factories similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/resources/META-INF/spring.factories rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/resources/META-INF/spring.factories diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/main/resources/application.yml b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/resources/application.yml similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/main/resources/application.yml rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/resources/application.yml diff --git a/servlet/spring-boot/java/oauth2/resource-server/src/test/java/sample/OAuth2ResourceServerControllerTests.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/test/java/sample/OAuth2ResourceServerControllerTests.java similarity index 100% rename from servlet/spring-boot/java/oauth2/resource-server/src/test/java/sample/OAuth2ResourceServerControllerTests.java rename to servlet/spring-boot/java/oauth2/resource-server/hello-security/src/test/java/sample/OAuth2ResourceServerControllerTests.java diff --git a/settings.gradle b/settings.gradle index 306f4c9..024e2e7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -30,5 +30,5 @@ include ":servlet:spring-boot:java:hello" include ":servlet:spring-boot:java:hello-security" include ":servlet:spring-boot:java:hello-security-explicit" include ":servlet:spring-boot:java:oauth2:login" -include ":servlet:spring-boot:java:oauth2:resource-server" +include ":servlet:spring-boot:java:oauth2:resource-server:hello-security" include ":servlet:spring-boot:kotlin:hello-security" \ No newline at end of file