Browse Source

Move oauth2login samples under oauth2 directory

Fixes gh-5397
Joe Grandja 7 years ago
parent
commit
de95583509
20 changed files with 3 additions and 3 deletions
  1. 2 2
      docs/manual/src/docs/asciidoc/_includes/preface/guides.adoc
  2. 1 1
      docs/manual/src/docs/asciidoc/_includes/preface/java-configuration.adoc
  3. 0 0
      samples/boot/oauth2/oauth2login-webflux/README.adoc
  4. 0 0
      samples/boot/oauth2/oauth2login-webflux/spring-security-samples-boot-oauth2-oauth2login-webflux.gradle
  5. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2ClientAutoConfiguration.java
  6. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2ClientRegistrationRepositoryConfiguration.java
  7. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2WebSecurityConfiguration.java
  8. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/package-info.java
  9. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/java/sample/ReactiveOAuth2LoginApplication.java
  10. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/java/sample/web/OAuth2LoginController.java
  11. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/resources/META-INF/spring.factories
  12. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/resources/application.yml
  13. 0 0
      samples/boot/oauth2/oauth2login-webflux/src/main/resources/templates/index.html
  14. 0 0
      samples/boot/oauth2/oauth2login/README.adoc
  15. 0 0
      samples/boot/oauth2/oauth2login/spring-security-samples-boot-oauth2-oauth2login.gradle
  16. 0 0
      samples/boot/oauth2/oauth2login/src/integration-test/java/org/springframework/security/samples/OAuth2LoginApplicationTests.java
  17. 0 0
      samples/boot/oauth2/oauth2login/src/main/java/sample/OAuth2LoginApplication.java
  18. 0 0
      samples/boot/oauth2/oauth2login/src/main/java/sample/web/OAuth2LoginController.java
  19. 0 0
      samples/boot/oauth2/oauth2login/src/main/resources/application.yml
  20. 0 0
      samples/boot/oauth2/oauth2login/src/main/resources/templates/index.html

+ 2 - 2
docs/manual/src/docs/asciidoc/_includes/preface/guides.adoc

@@ -27,8 +27,8 @@ If you are looking to get started with Spring Security, the best place to start
 | Demonstrates how to create a custom login form.
 | link:../../guides/html5/form-javaconfig.html[Custom Login Form Guide]
 
-| {gh-samples-url}/boot/oauth2login[OAuth 2.0 Login]
+| {gh-samples-url}/boot/oauth2/oauth2login[OAuth 2.0 Login]
 | Demonstrates how to integrate OAuth 2.0 Login with an OAuth 2.0 or OpenID Connect 1.0 Provider.
-| link:{gh-samples-url}/boot/oauth2login/README.adoc[OAuth 2.0 Login Guide]
+| link:{gh-samples-url}/boot/oauth2/oauth2login/README.adoc[OAuth 2.0 Login Guide]
 
 |===

+ 1 - 1
docs/manual/src/docs/asciidoc/_includes/preface/java-configuration.adoc

@@ -466,7 +466,7 @@ NOTE: OAuth 2.0 Login is implemented by using the *Authorization Code Grant*, as
 
 Spring Boot 2.0 brings full auto-configuration capabilities for OAuth 2.0 Login.
 
-This section shows how to configure the {gh-samples-url}/boot/oauth2login[*OAuth 2.0 Login sample*] using _Google_ as the _Authentication Provider_ and covers the following topics:
+This section shows how to configure the {gh-samples-url}/boot/oauth2/oauth2login[*OAuth 2.0 Login sample*] using _Google_ as the _Authentication Provider_ and covers the following topics:
 
 * <<jc-oauth2login-sample-initial-setup,Initial setup>>
 * <<jc-oauth2login-sample-redirect-uri,Setting the redirect URI>>

+ 0 - 0
samples/boot/oauth2login-webflux/README.adoc → samples/boot/oauth2/oauth2login-webflux/README.adoc


+ 0 - 0
samples/boot/oauth2login-webflux/spring-security-samples-boot-oauth2login-webflux.gradle → samples/boot/oauth2/oauth2login-webflux/spring-security-samples-boot-oauth2-oauth2login-webflux.gradle


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2ClientAutoConfiguration.java → samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2ClientAutoConfiguration.java


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2ClientRegistrationRepositoryConfiguration.java → samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2ClientRegistrationRepositoryConfiguration.java


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2WebSecurityConfiguration.java → samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/ReactiveOAuth2WebSecurityConfiguration.java


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/package-info.java → samples/boot/oauth2/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/package-info.java


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/java/sample/ReactiveOAuth2LoginApplication.java → samples/boot/oauth2/oauth2login-webflux/src/main/java/sample/ReactiveOAuth2LoginApplication.java


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/java/sample/web/OAuth2LoginController.java → samples/boot/oauth2/oauth2login-webflux/src/main/java/sample/web/OAuth2LoginController.java


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/resources/META-INF/spring.factories → samples/boot/oauth2/oauth2login-webflux/src/main/resources/META-INF/spring.factories


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/resources/application.yml → samples/boot/oauth2/oauth2login-webflux/src/main/resources/application.yml


+ 0 - 0
samples/boot/oauth2login-webflux/src/main/resources/templates/index.html → samples/boot/oauth2/oauth2login-webflux/src/main/resources/templates/index.html


+ 0 - 0
samples/boot/oauth2login/README.adoc → samples/boot/oauth2/oauth2login/README.adoc


+ 0 - 0
samples/boot/oauth2login/spring-security-samples-boot-oauth2login.gradle → samples/boot/oauth2/oauth2login/spring-security-samples-boot-oauth2-oauth2login.gradle


+ 0 - 0
samples/boot/oauth2login/src/integration-test/java/org/springframework/security/samples/OAuth2LoginApplicationTests.java → samples/boot/oauth2/oauth2login/src/integration-test/java/org/springframework/security/samples/OAuth2LoginApplicationTests.java


+ 0 - 0
samples/boot/oauth2login/src/main/java/sample/OAuth2LoginApplication.java → samples/boot/oauth2/oauth2login/src/main/java/sample/OAuth2LoginApplication.java


+ 0 - 0
samples/boot/oauth2login/src/main/java/sample/web/OAuth2LoginController.java → samples/boot/oauth2/oauth2login/src/main/java/sample/web/OAuth2LoginController.java


+ 0 - 0
samples/boot/oauth2login/src/main/resources/application.yml → samples/boot/oauth2/oauth2login/src/main/resources/application.yml


+ 0 - 0
samples/boot/oauth2login/src/main/resources/templates/index.html → samples/boot/oauth2/oauth2login/src/main/resources/templates/index.html