Переглянути джерело

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

Josh Cummings 1 місяць тому
батько
коміт
4963bb6d7d

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

@@ -14,7 +14,7 @@ To run the tests, do:
 ./gradlew integrationTest
 ```
 
-Or import the project into your IDE and run `OAuth2ResourceServerApplicationTests` from there.
+Or import the project into your IDE and run `OAuth2OpaqueTokenResourceServerApplicationTests` from there.
 
 === What is it doing?
 
@@ -39,7 +39,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 `OAuth2OpaqueTokenResourceServerApplication` from there.
 
 Once it is up, you can use the following token:
 

+ 1 - 1
servlet/spring-boot/java/oauth2/resource-server/opaque/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/opaque/src/integTest/java/example/OAuth2ResourceServerApplicationITests.java → servlet/spring-boot/java/oauth2/resource-server/opaque/src/integTest/java/example/OAuth2OpaqueTokenResourceServerApplicationITests.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 OAuth2OpaqueTokenResourceServerApplication}.
  *
  * @author Josh Cummings
  */
 @SpringBootTest
 @AutoConfigureMockMvc
 @ActiveProfiles("test")
-public class OAuth2ResourceServerApplicationITests {
+public class OAuth2OpaqueTokenResourceServerApplicationITests {
 
 	String noScopesToken = "00ed5855-1869-47a0-b0c9-0f3ce520aee7";
 

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

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