Przeglądaj źródła

Update :servlet:spring-boot:java:oauth2:resource-server:static to 7

Josh Cummings 1 miesiąc temu
rodzic
commit
8059fb84ce

+ 2 - 2
servlet/spring-boot/java/oauth2/resource-server/static/README.adoc

@@ -13,7 +13,7 @@ To run the tests, do:
 ./gradlew integrationTest
 ```
 
-Or import the project into your IDE and run `OAuth2ResourceServerApplicationITests` from there.
+Or import the project into your IDE and run `OAuth2StaticResourceServerApplicationITests` from there.
 
 === What is it doing?
 
@@ -38,7 +38,7 @@ To run as a stand-alone application, do:
 ./gradlew bootRun
 ```
 
-Or import the project into your IDE and run `OAuth2ResourceServerApplication` from there.
+Or import the project into your IDE and run `OAuth2StaticResourceServerApplication` from there.
 
 Once it is up, you can use the following token:
 

+ 1 - 1
servlet/spring-boot/java/oauth2/resource-server/static/gradle.properties

@@ -1,4 +1,4 @@
 version=6.1.1
-spring-security.version=6.5.0-SNAPSHOT
+spring-security.version=7.0.0-SNAPSHOT
 org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError
 org.gradle.caching=true

+ 2 - 2
servlet/spring-boot/java/oauth2/resource-server/static/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java → servlet/spring-boot/java/oauth2/resource-server/static/src/integTest/java/example/OAuth2StaticResourceServerApplicationITests.java

@@ -34,14 +34,14 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
 import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
 
 /**
- * Integration tests for {@link OAuth2ResourceServerApplication}.
+ * Integration tests for {@link OAuth2StaticResourceServerApplication}.
  *
  * @author Josh Cummings
  */
 @SpringBootTest
 @AutoConfigureMockMvc
 @ActiveProfiles("test")
-public class OAuth2ResourceServerApplicationITests {
+public class OAuth2StaticResourceServerApplicationITests {
 
 	String noScopesToken = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzdWJqZWN0IiwiaWF0IjoxNTE2MjM5MDIyfQ.eB2c9xtg5wcCZxZ-o-sH4Mx1JGkqAZwH4_WS0UcDbj_nen0NPBj6CqOEPhr_LZDagb4mM6HoAPJywWWG8b_Ylnn5r2gWDzib2mb0kxIuAjnvVBrpzusw4ItTVvP_srv2DrwcisKYiKqU5X_3ka7MSVvKtswdLY3RXeCJ_S2W9go";
 

+ 2 - 2
servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2ResourceServerApplication.java → servlet/spring-boot/java/oauth2/resource-server/static/src/main/java/example/OAuth2StaticResourceServerApplication.java

@@ -25,10 +25,10 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
  * @author Josh Cummings
  */
 @SpringBootApplication
-public class OAuth2ResourceServerApplication {
+public class OAuth2StaticResourceServerApplication {
 
 	public static void main(String[] args) {
-		SpringApplication.run(OAuth2ResourceServerApplication.class, args);
+		SpringApplication.run(OAuth2StaticResourceServerApplication.class, args);
 	}
 
 }