Browse Source

Update htmlunit to 2.70.0 for SAML samples

Older versions throw error when trying to modify the javascript

Closes gh-111
Marcus Da Coregio 2 years ago
parent
commit
4aa638808e

+ 1 - 1
servlet/spring-boot/java/saml2/custom-urls/build.gradle

@@ -24,7 +24,7 @@ dependencies {
 	implementation 'org.springframework.security:spring-security-saml2-service-provider'
 	implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
 
-	testImplementation 'net.sourceforge.htmlunit:htmlunit'
+	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
 	testImplementation 'org.springframework.boot:spring-boot-starter-test'
 	testImplementation 'org.springframework.security:spring-security-test'
 }

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

@@ -26,7 +26,7 @@ dependencies {
 	implementation 'org.springframework.security:spring-security-saml2-service-provider'
 	implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
 
-	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.64.0'
+	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
 	testImplementation 'org.springframework.boot:spring-boot-starter-test'
 	testImplementation 'org.springframework.security:spring-security-test'
 }

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

@@ -26,7 +26,7 @@ dependencies {
 	implementation 'org.springframework.security:spring-security-saml2-service-provider'
 	implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
 
-	testImplementation 'net.sourceforge.htmlunit:htmlunit'
+	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
 	testImplementation 'org.springframework.boot:spring-boot-starter-test'
 	testImplementation 'org.springframework.security:spring-security-test'
 }

+ 1 - 1
servlet/spring-boot/java/saml2/refreshable-metadata/build.gradle

@@ -26,7 +26,7 @@ dependencies {
 	implementation 'org.springframework.security:spring-security-saml2-service-provider'
 	implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
 
-	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.64.0'
+	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
 	testImplementation 'org.springframework.boot:spring-boot-starter-test'
 	testImplementation 'org.springframework.security:spring-security-test'
 }

+ 1 - 1
servlet/spring-boot/java/saml2/saml-extension-federation/build.gradle

@@ -24,7 +24,7 @@ dependencies {
 	implementation 'org.springframework.security:spring-security-saml2-service-provider'
 	implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
 
-	testImplementation 'net.sourceforge.htmlunit:htmlunit'
+	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
 	testImplementation 'org.springframework.boot:spring-boot-starter-test'
 	testImplementation 'org.springframework.security:spring-security-test'
 }

+ 1 - 1
servlet/xml/java/saml2/login-logout/build.gradle

@@ -38,7 +38,7 @@ dependencies {
 	testImplementation "org.springframework:spring-test"
 	testImplementation "org.springframework.security:spring-security-test"
 	testImplementation "org.junit.jupiter:junit-jupiter-api"
-	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.64.0'
+	testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
 	testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")