From bbbb2a6a5400902d42310dc952627d2a08178ad3 Mon Sep 17 00:00:00 2001 From: sampadawagde Date: Tue, 11 Aug 2020 17:21:35 +0530 Subject: [PATCH] BAEL-4393: Module renamed to oauth-resource-server --- {oauth-rs => oauth-resource-server}/README.md | 0 .../authorization-server/pom.xml | 125 +++++++++++++++++ .../authserver/AuthorizationServerApp.java | 0 .../config/EmbeddedKeycloakApplication.java | 0 .../config/EmbeddedKeycloakConfig.java | 0 .../config/KeycloakServerProperties.java | 0 .../RegularJsonConfigProviderFactory.java | 0 .../authserver/config/Resteasy3Provider.java | 0 .../config/SimplePlatformProvider.java | 0 .../resources/META-INF/keycloak-server.json | 0 .../org.keycloak.common.util.ResteasyProvider | 0 .../org.keycloak.platform.PlatformProvider | 0 .../src/main/resources/application.yml | 0 .../src/main/resources/baeldung-realm.json | 0 .../src/main/resources/mytest.jks | Bin .../jwt/AuthorizationServerLiveTest.java | 0 .../baeldung/jwt/ContextIntegrationTest.java | 0 {oauth-rs => oauth-resource-server}/pom.xml | 2 +- .../resource-server-jwt/pom.xml | 0 .../baeldung/jwt/JWTResourceServerApp.java | 0 .../com/baeldung/jwt/api/FooController.java | 0 .../jwt/config/JWTSecurityConfig.java | 4 +- .../java/com/baeldung/jwt/resource/Foo.java | 0 .../src/main/resources/application.yml | 0 .../baeldung/jwt/ContextIntegrationTest.java | 0 .../jwt/JWTResourceServerLiveTest.java | 0 .../resource-server-opaque/pom.xml | 0 .../opaque/OpaqueResourceServerApp.java | 0 .../baeldung/opaque/api/BarController.java | 0 .../opaque/config/OpaqueSecurityConfig.java | 6 +- .../com/baeldung/opaque/resource/Bar.java | 0 .../src/main/resources/application.yml | 0 .../opaque/ContextIntegrationTest.java | 0 .../opaque/OpaqueResourceServerLiveTest.java | 0 oauth-rs/authorization-server/pom.xml | 130 ------------------ 35 files changed, 131 insertions(+), 136 deletions(-) rename {oauth-rs => oauth-resource-server}/README.md (100%) create mode 100644 oauth-resource-server/authorization-server/pom.xml rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/java/com/baeldung/authserver/AuthorizationServerApp.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakApplication.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakConfig.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/java/com/baeldung/authserver/config/KeycloakServerProperties.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/java/com/baeldung/authserver/config/RegularJsonConfigProviderFactory.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/java/com/baeldung/authserver/config/Resteasy3Provider.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/java/com/baeldung/authserver/config/SimplePlatformProvider.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/resources/META-INF/keycloak-server.json (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/resources/application.yml (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/resources/baeldung-realm.json (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/main/resources/mytest.jks (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/test/java/com/baeldung/jwt/AuthorizationServerLiveTest.java (100%) rename {oauth-rs => oauth-resource-server}/authorization-server/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java (100%) rename {oauth-rs => oauth-resource-server}/pom.xml (92%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/pom.xml (100%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/src/main/java/com/baeldung/jwt/JWTResourceServerApp.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/src/main/java/com/baeldung/jwt/api/FooController.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/src/main/java/com/baeldung/jwt/config/JWTSecurityConfig.java (83%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/src/main/java/com/baeldung/jwt/resource/Foo.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/src/main/resources/application.yml (100%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-jwt/src/test/java/com/baeldung/jwt/JWTResourceServerLiveTest.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/pom.xml (100%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/src/main/java/com/baeldung/opaque/OpaqueResourceServerApp.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/src/main/java/com/baeldung/opaque/api/BarController.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/src/main/java/com/baeldung/opaque/config/OpaqueSecurityConfig.java (83%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/src/main/java/com/baeldung/opaque/resource/Bar.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/src/main/resources/application.yml (100%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/src/test/java/com/baeldung/opaque/ContextIntegrationTest.java (100%) rename {oauth-rs => oauth-resource-server}/resource-server-opaque/src/test/java/com/baeldung/opaque/OpaqueResourceServerLiveTest.java (100%) delete mode 100644 oauth-rs/authorization-server/pom.xml diff --git a/oauth-rs/README.md b/oauth-resource-server/README.md similarity index 100% rename from oauth-rs/README.md rename to oauth-resource-server/README.md diff --git a/oauth-resource-server/authorization-server/pom.xml b/oauth-resource-server/authorization-server/pom.xml new file mode 100644 index 000000000..cb85beb34 --- /dev/null +++ b/oauth-resource-server/authorization-server/pom.xml @@ -0,0 +1,125 @@ + + 4.0.0 + + com.baeldung + authorization-server + 0.1.0-SNAPSHOT + jar + + + org.springframework.boot + spring-boot-starter-parent + 2.2.6.RELEASE + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + org.jboss.resteasy + resteasy-jackson2-provider + ${resteasy.version} + + + + org.keycloak + keycloak-dependencies-server-all + ${keycloak.version} + pom + + + + + org.springframework.boot + spring-boot-configuration-processor + true + + + + + org.springframework.boot + spring-boot-starter-test + test + + + + io.rest-assured + rest-assured + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + true + + + + org.apache.maven.plugins + maven-resources-plugin + + + jks + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/*LiveTest.java + + + + + + + + + eugen@baeldung.com + Eugen Paraschiv + https://github.com/eugenp + eugenp + + + + + + UTF-8 + 13 + + 10.0.1 + 3.11.2.Final + + + \ No newline at end of file diff --git a/oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/AuthorizationServerApp.java b/oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/AuthorizationServerApp.java similarity index 100% rename from oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/AuthorizationServerApp.java rename to oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/AuthorizationServerApp.java diff --git a/oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakApplication.java b/oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakApplication.java similarity index 100% rename from oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakApplication.java rename to oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakApplication.java diff --git a/oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakConfig.java b/oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakConfig.java similarity index 100% rename from oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakConfig.java rename to oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/EmbeddedKeycloakConfig.java diff --git a/oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/KeycloakServerProperties.java b/oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/KeycloakServerProperties.java similarity index 100% rename from oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/KeycloakServerProperties.java rename to oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/KeycloakServerProperties.java diff --git a/oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/RegularJsonConfigProviderFactory.java b/oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/RegularJsonConfigProviderFactory.java similarity index 100% rename from oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/RegularJsonConfigProviderFactory.java rename to oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/RegularJsonConfigProviderFactory.java diff --git a/oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/Resteasy3Provider.java b/oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/Resteasy3Provider.java similarity index 100% rename from oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/Resteasy3Provider.java rename to oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/Resteasy3Provider.java diff --git a/oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/SimplePlatformProvider.java b/oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/SimplePlatformProvider.java similarity index 100% rename from oauth-rs/authorization-server/src/main/java/com/baeldung/authserver/config/SimplePlatformProvider.java rename to oauth-resource-server/authorization-server/src/main/java/com/baeldung/authserver/config/SimplePlatformProvider.java diff --git a/oauth-rs/authorization-server/src/main/resources/META-INF/keycloak-server.json b/oauth-resource-server/authorization-server/src/main/resources/META-INF/keycloak-server.json similarity index 100% rename from oauth-rs/authorization-server/src/main/resources/META-INF/keycloak-server.json rename to oauth-resource-server/authorization-server/src/main/resources/META-INF/keycloak-server.json diff --git a/oauth-rs/authorization-server/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider b/oauth-resource-server/authorization-server/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider similarity index 100% rename from oauth-rs/authorization-server/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider rename to oauth-resource-server/authorization-server/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider diff --git a/oauth-rs/authorization-server/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider b/oauth-resource-server/authorization-server/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider similarity index 100% rename from oauth-rs/authorization-server/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider rename to oauth-resource-server/authorization-server/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider diff --git a/oauth-rs/authorization-server/src/main/resources/application.yml b/oauth-resource-server/authorization-server/src/main/resources/application.yml similarity index 100% rename from oauth-rs/authorization-server/src/main/resources/application.yml rename to oauth-resource-server/authorization-server/src/main/resources/application.yml diff --git a/oauth-rs/authorization-server/src/main/resources/baeldung-realm.json b/oauth-resource-server/authorization-server/src/main/resources/baeldung-realm.json similarity index 100% rename from oauth-rs/authorization-server/src/main/resources/baeldung-realm.json rename to oauth-resource-server/authorization-server/src/main/resources/baeldung-realm.json diff --git a/oauth-rs/authorization-server/src/main/resources/mytest.jks b/oauth-resource-server/authorization-server/src/main/resources/mytest.jks similarity index 100% rename from oauth-rs/authorization-server/src/main/resources/mytest.jks rename to oauth-resource-server/authorization-server/src/main/resources/mytest.jks diff --git a/oauth-rs/authorization-server/src/test/java/com/baeldung/jwt/AuthorizationServerLiveTest.java b/oauth-resource-server/authorization-server/src/test/java/com/baeldung/jwt/AuthorizationServerLiveTest.java similarity index 100% rename from oauth-rs/authorization-server/src/test/java/com/baeldung/jwt/AuthorizationServerLiveTest.java rename to oauth-resource-server/authorization-server/src/test/java/com/baeldung/jwt/AuthorizationServerLiveTest.java diff --git a/oauth-rs/authorization-server/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java b/oauth-resource-server/authorization-server/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java similarity index 100% rename from oauth-rs/authorization-server/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java rename to oauth-resource-server/authorization-server/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java diff --git a/oauth-rs/pom.xml b/oauth-resource-server/pom.xml similarity index 92% rename from oauth-rs/pom.xml rename to oauth-resource-server/pom.xml index ddc69c0b2..afa178827 100644 --- a/oauth-rs/pom.xml +++ b/oauth-resource-server/pom.xml @@ -4,7 +4,7 @@ JWT with OAuth2 Stack in Spring Security 5 com.baeldung - oauth-rs + oauth-resource-server 0.1.0-SNAPSHOT pom diff --git a/oauth-rs/resource-server-jwt/pom.xml b/oauth-resource-server/resource-server-jwt/pom.xml similarity index 100% rename from oauth-rs/resource-server-jwt/pom.xml rename to oauth-resource-server/resource-server-jwt/pom.xml diff --git a/oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/JWTResourceServerApp.java b/oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/JWTResourceServerApp.java similarity index 100% rename from oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/JWTResourceServerApp.java rename to oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/JWTResourceServerApp.java diff --git a/oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/api/FooController.java b/oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/api/FooController.java similarity index 100% rename from oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/api/FooController.java rename to oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/api/FooController.java diff --git a/oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/config/JWTSecurityConfig.java b/oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/config/JWTSecurityConfig.java similarity index 83% rename from oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/config/JWTSecurityConfig.java rename to oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/config/JWTSecurityConfig.java index 552ead3f2..d7367efd3 100644 --- a/oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/config/JWTSecurityConfig.java +++ b/oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/config/JWTSecurityConfig.java @@ -11,10 +11,10 @@ public class JWTSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception {// @formatter:off http - .authorizeRequests(authorizeRequests -> authorizeRequests + .authorizeRequests(authz -> authz .antMatchers(HttpMethod.GET, "/foos/**").hasAuthority("SCOPE_read") .antMatchers(HttpMethod.POST, "/foos").hasAuthority("SCOPE_write") .anyRequest().authenticated()) - .oauth2ResourceServer(oauth2ResourceServer -> oauth2ResourceServer.jwt()); + .oauth2ResourceServer(oauth2 -> oauth2.jwt()); }// @formatter:on } \ No newline at end of file diff --git a/oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/resource/Foo.java b/oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/resource/Foo.java similarity index 100% rename from oauth-rs/resource-server-jwt/src/main/java/com/baeldung/jwt/resource/Foo.java rename to oauth-resource-server/resource-server-jwt/src/main/java/com/baeldung/jwt/resource/Foo.java diff --git a/oauth-rs/resource-server-jwt/src/main/resources/application.yml b/oauth-resource-server/resource-server-jwt/src/main/resources/application.yml similarity index 100% rename from oauth-rs/resource-server-jwt/src/main/resources/application.yml rename to oauth-resource-server/resource-server-jwt/src/main/resources/application.yml diff --git a/oauth-rs/resource-server-jwt/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java b/oauth-resource-server/resource-server-jwt/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java similarity index 100% rename from oauth-rs/resource-server-jwt/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java rename to oauth-resource-server/resource-server-jwt/src/test/java/com/baeldung/jwt/ContextIntegrationTest.java diff --git a/oauth-rs/resource-server-jwt/src/test/java/com/baeldung/jwt/JWTResourceServerLiveTest.java b/oauth-resource-server/resource-server-jwt/src/test/java/com/baeldung/jwt/JWTResourceServerLiveTest.java similarity index 100% rename from oauth-rs/resource-server-jwt/src/test/java/com/baeldung/jwt/JWTResourceServerLiveTest.java rename to oauth-resource-server/resource-server-jwt/src/test/java/com/baeldung/jwt/JWTResourceServerLiveTest.java diff --git a/oauth-rs/resource-server-opaque/pom.xml b/oauth-resource-server/resource-server-opaque/pom.xml similarity index 100% rename from oauth-rs/resource-server-opaque/pom.xml rename to oauth-resource-server/resource-server-opaque/pom.xml diff --git a/oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/OpaqueResourceServerApp.java b/oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/OpaqueResourceServerApp.java similarity index 100% rename from oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/OpaqueResourceServerApp.java rename to oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/OpaqueResourceServerApp.java diff --git a/oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/api/BarController.java b/oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/api/BarController.java similarity index 100% rename from oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/api/BarController.java rename to oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/api/BarController.java diff --git a/oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/config/OpaqueSecurityConfig.java b/oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/config/OpaqueSecurityConfig.java similarity index 83% rename from oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/config/OpaqueSecurityConfig.java rename to oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/config/OpaqueSecurityConfig.java index c5f208a5c..4378413c3 100644 --- a/oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/config/OpaqueSecurityConfig.java +++ b/oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/config/OpaqueSecurityConfig.java @@ -21,12 +21,12 @@ public class OpaqueSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception {// @formatter:off http - .authorizeRequests(authorizeRequests -> authorizeRequests + .authorizeRequests(authz -> authz .antMatchers(HttpMethod.GET, "/bars/**").hasAuthority("SCOPE_read") .antMatchers(HttpMethod.POST, "/bars").hasAuthority("SCOPE_write") .anyRequest().authenticated()) - .oauth2ResourceServer(oauth2ResourceServer -> oauth2ResourceServer - .opaqueToken(opaqueToken -> opaqueToken.introspectionUri(this.introspectionUri) + .oauth2ResourceServer(oauth2 -> oauth2 + .opaqueToken(token -> token.introspectionUri(this.introspectionUri) .introspectionClientCredentials(this.clientId, this.clientSecret)));// @formatter:on } } \ No newline at end of file diff --git a/oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/resource/Bar.java b/oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/resource/Bar.java similarity index 100% rename from oauth-rs/resource-server-opaque/src/main/java/com/baeldung/opaque/resource/Bar.java rename to oauth-resource-server/resource-server-opaque/src/main/java/com/baeldung/opaque/resource/Bar.java diff --git a/oauth-rs/resource-server-opaque/src/main/resources/application.yml b/oauth-resource-server/resource-server-opaque/src/main/resources/application.yml similarity index 100% rename from oauth-rs/resource-server-opaque/src/main/resources/application.yml rename to oauth-resource-server/resource-server-opaque/src/main/resources/application.yml diff --git a/oauth-rs/resource-server-opaque/src/test/java/com/baeldung/opaque/ContextIntegrationTest.java b/oauth-resource-server/resource-server-opaque/src/test/java/com/baeldung/opaque/ContextIntegrationTest.java similarity index 100% rename from oauth-rs/resource-server-opaque/src/test/java/com/baeldung/opaque/ContextIntegrationTest.java rename to oauth-resource-server/resource-server-opaque/src/test/java/com/baeldung/opaque/ContextIntegrationTest.java diff --git a/oauth-rs/resource-server-opaque/src/test/java/com/baeldung/opaque/OpaqueResourceServerLiveTest.java b/oauth-resource-server/resource-server-opaque/src/test/java/com/baeldung/opaque/OpaqueResourceServerLiveTest.java similarity index 100% rename from oauth-rs/resource-server-opaque/src/test/java/com/baeldung/opaque/OpaqueResourceServerLiveTest.java rename to oauth-resource-server/resource-server-opaque/src/test/java/com/baeldung/opaque/OpaqueResourceServerLiveTest.java diff --git a/oauth-rs/authorization-server/pom.xml b/oauth-rs/authorization-server/pom.xml deleted file mode 100644 index 3f9db3a05..000000000 --- a/oauth-rs/authorization-server/pom.xml +++ /dev/null @@ -1,130 +0,0 @@ - - 4.0.0 - - com.baeldung - authorization-server - 0.1.0-SNAPSHOT - jar - - - org.springframework.boot - spring-boot-starter-parent - 2.2.6.RELEASE - - - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - org.jboss.resteasy - resteasy-jackson2-provider - ${resteasy.version} - - - - org.keycloak - keycloak-dependencies-server-all - ${keycloak.version} - pom - - - - - org.springframework.boot - spring-boot-configuration-processor - true - - - - - - org.springframework.boot - spring-boot-starter-test - test - - - - io.rest-assured - rest-assured - test - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - true - - - - org.apache.maven.plugins - maven-resources-plugin - - - jks - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*LiveTest.java - - - - - - - - - eugen@baeldung.com - Eugen Paraschiv - https://github.com/eugenp - eugenp - - - - - - UTF-8 - 13 - - 10.0.1 - 3.11.2.Final - - - \ No newline at end of file