Преглед на файлове

Update :servlet:spring-boot:java:saml2:login to 7

Josh Cummings преди 1 месец
родител
ревизия
c89f0459b9

+ 1 - 0
servlet/spring-boot/java/saml2/login/build.gradle

@@ -17,6 +17,7 @@ dependencies {
 		implementation "org.opensaml:opensaml-saml-api:5.1.3"
 		implementation "org.opensaml:opensaml-saml-api:5.1.3"
 		implementation "org.opensaml:opensaml-saml-impl:5.1.3"
 		implementation "org.opensaml:opensaml-saml-impl:5.1.3"
 	}
 	}
+	implementation 'org.springframework.boot:spring-boot-security-saml2'
 	implementation 'org.springframework.boot:spring-boot-starter-security'
 	implementation 'org.springframework.boot:spring-boot-starter-security'
 	implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
 	implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
 	implementation 'org.springframework.boot:spring-boot-starter-web'
 	implementation 'org.springframework.boot:spring-boot-starter-web'

+ 1 - 1
servlet/spring-boot/java/saml2/login/gradle.properties

@@ -1,4 +1,4 @@
 version=6.1.1
 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.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError
 org.gradle.caching=true
 org.gradle.caching=true

+ 1 - 1
servlet/spring-boot/java/saml2/login/src/integTest/java/example/Saml2LoginApplicationITests.java

@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
 import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.boot.test.web.server.LocalServerPort;
+import org.springframework.boot.web.server.test.LocalServerPort;
 
 
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThat;