From 935d2ff8c8da1dd60474b340fa590174d366c8a4 Mon Sep 17 00:00:00 2001 From: rmkellogg Date: Thu, 14 Apr 2022 13:22:15 -0400 Subject: [PATCH 1/2] Added note about requirement for Java 11 when using spring-security-saml2-service-provider. --- servlet/spring-boot/java/saml2/login/README.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servlet/spring-boot/java/saml2/login/README.adoc b/servlet/spring-boot/java/saml2/login/README.adoc index cda90b5..a50092f 100644 --- a/servlet/spring-boot/java/saml2/login/README.adoc +++ b/servlet/spring-boot/java/saml2/login/README.adoc @@ -4,7 +4,9 @@ This guide provides instructions on setting up this SAML 2.0 Login & Logout samp It uses https://simplesamlphp.org/[SimpleSAMLphp] as its asserting party. The sample application uses Spring Boot and the `spring-security-saml2-service-provider` -module which is new in Spring Security 5.2. +module which is new in Spring Security 5.2. + +Note: The `spring-security-saml2-service-provider` module requires Java 11 or higher because of a dependency on the OpenSaml library. The https://docs.spring.io/spring-security/reference/servlet/saml2/logout.html[SAML 2.0 Logout feature] is new in Spring Security 5.6. From b0b5a496d3d533eef851891e96345bf24cf10564 Mon Sep 17 00:00:00 2001 From: Rick Kellogg Date: Wed, 1 Jun 2022 19:27:00 -0400 Subject: [PATCH 2/2] Updated warning. --- servlet/spring-boot/java/saml2/login/README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servlet/spring-boot/java/saml2/login/README.adoc b/servlet/spring-boot/java/saml2/login/README.adoc index a50092f..75f5e16 100644 --- a/servlet/spring-boot/java/saml2/login/README.adoc +++ b/servlet/spring-boot/java/saml2/login/README.adoc @@ -6,7 +6,7 @@ It uses https://simplesamlphp.org/[SimpleSAMLphp] as its asserting party. The sample application uses Spring Boot and the `spring-security-saml2-service-provider` module which is new in Spring Security 5.2. -Note: The `spring-security-saml2-service-provider` module requires Java 11 or higher because of a dependency on the OpenSaml library. +Note: This sample is using OpenSAML4, therefore it requires Java 11 or higher. If you want to use Java 8 just update the dependencies to use an OpenSAML3 release. The https://docs.spring.io/spring-security/reference/servlet/saml2/logout.html[SAML 2.0 Logout feature] is new in Spring Security 5.6.