瀏覽代碼

Fix X509 XML Sample

Marcus Da Coregio 2 年之前
父節點
當前提交
da48235f44

+ 1 - 1
servlet/java-configuration/authentication/x509/src/integTest/java/example/X509Tests.java

@@ -74,7 +74,7 @@ public class X509Tests {
 				HttpsSupport.getDefaultHostnameVerifier());
 
 		final Registry<ConnectionSocketFactory> socketFactoryRegistry =
-				RegistryBuilder.<ConnectionSocketFactory> create()
+				RegistryBuilder.<ConnectionSocketFactory>create()
 						.register("https", socketFactory)
 						.register("http", new PlainConnectionSocketFactory())
 						.build();

+ 3 - 2
servlet/xml/java/preauth/build.gradle

@@ -10,7 +10,7 @@ repositories {
 }
 
 dependencies {
-	implementation platform("org.springframework.security:spring-security-bom:5.6.0-SNAPSHOT")
+	implementation platform("org.springframework.security:spring-security-bom:6.0.2")
 	implementation platform("org.junit:junit-bom:5.7.0")
 
 	implementation "org.springframework.security:spring-security-config"
@@ -18,7 +18,8 @@ dependencies {
 	implementation 'org.slf4j:slf4j-api:1.7.30'
 	implementation 'org.slf4j:slf4j-simple:1.7.30'
 
-	providedCompile 'javax.servlet:javax.servlet-api:4.0.0'
+	providedCompile "jakarta.servlet:jakarta.servlet-api:6.0.0"
+	providedCompile "org.glassfish.web:jakarta.servlet.jsp.jstl:2.0.0"
 
 	testImplementation "org.springframework:spring-test"
 	testImplementation "org.springframework.security:spring-security-test"