You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2023/11/27 11:15:10 UTC

(syncope) branch master updated (ccf5f2d629 -> fe43273f75)

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


    from ccf5f2d629 Upgrading Spring Boot (#548)
     new 59a57d6bc9 Fixing OIDCC4UIITCase and SAML2SP4UIITCase with LDAP auth
     new fe43273f75 Upgrading pac4j

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../test/java/org/apache/syncope/fit/AbstractITCase.java    | 13 ++++++++++++-
 pom.xml                                                     |  6 +++---
 2 files changed, 15 insertions(+), 4 deletions(-)


(syncope) 02/02: Upgrading pac4j

Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit fe43273f75e3da9d0eeec9726bb8da781293cb68
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Nov 27 11:59:31 2023 +0100

    Upgrading pac4j
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 49aa0e0aa9..cb779a1475 100644
--- a/pom.xml
+++ b/pom.xml
@@ -434,7 +434,7 @@ under the License.
     <commons-jexl.version>3.3</commons-jexl.version>
     <commons-text.version>1.10.0</commons-text.version>
 
-    <pac4j.version>6.0.0-RC10-SNAPSHOT</pac4j.version>
+    <pac4j.version>6.0.0-RC10</pac4j.version>
 
     <cas.version>7.0.0-SNAPSHOT</cas.version>
     <cas-client.version>4.0.3</cas-client.version>


(syncope) 01/02: Fixing OIDCC4UIITCase and SAML2SP4UIITCase with LDAP auth

Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 59a57d6bc9839fe8161e4bb3b58e0d7d7036a8b6
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Nov 27 11:57:17 2023 +0100

    Fixing OIDCC4UIITCase and SAML2SP4UIITCase with LDAP auth
---
 .../test/java/org/apache/syncope/fit/AbstractITCase.java    | 13 ++++++++++++-
 pom.xml                                                     |  4 ++--
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/fit/wa-reference/src/test/java/org/apache/syncope/fit/AbstractITCase.java b/fit/wa-reference/src/test/java/org/apache/syncope/fit/AbstractITCase.java
index 939c90551b..8d12f1d54c 100644
--- a/fit/wa-reference/src/test/java/org/apache/syncope/fit/AbstractITCase.java
+++ b/fit/wa-reference/src/test/java/org/apache/syncope/fit/AbstractITCase.java
@@ -66,6 +66,10 @@ public abstract class AbstractITCase {
 
     protected static final String ADMIN_PWD = "password";
 
+    private static final String ANONYMOUS_USER = "anonymous";
+
+    private static final String ANONYMOUS_KEY = "anonymousKey";
+
     protected static final String CORE_ADDRESS = "https://localhost:9443/syncope/rest";
 
     protected static final String CONSOLE_ADDRESS = "https://localhost:9443/syncope-console/";
@@ -129,12 +133,19 @@ public abstract class AbstractITCase {
                     throw new IllegalStateException();
                 }
                 metadata = WebClient.create(
-                        WA_ADDRESS + "/actuator/registeredServices", "anonymous", "anonymousKey", null).
+                        WA_ADDRESS + "/actuator/registeredServices", ANONYMOUS_USER, ANONYMOUS_KEY, null).
                         get().readEntity(String.class);
                 if (metadata.contains("localhost:8080/syncope-wa")) {
                     WA_CONFIG_SERVICE.pushToWA(WAConfigService.PushSubject.conf, List.of());
                     throw new IllegalStateException();
                 }
+                metadata = WebClient.create(
+                        WA_ADDRESS + "/actuator/authenticationHandlers", ANONYMOUS_USER, ANONYMOUS_KEY, null).
+                        get().readEntity(String.class);
+                if (!metadata.contains("DefaultLDAPAuthModule")) {
+                    WA_CONFIG_SERVICE.pushToWA(WAConfigService.PushSubject.conf, List.of());
+                    throw new IllegalStateException();
+                }
 
                 samlIdPEntityService.get(SAML2IdPEntityService.DEFAULT_OWNER);
                 refreshed = true;
diff --git a/pom.xml b/pom.xml
index 136551a2b6..49aa0e0aa9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1584,7 +1584,7 @@ under the License.
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>3.1.2</version>
+          <version>3.2.2</version>
           <configuration>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
             <encoding>utf-8</encoding>
@@ -1594,7 +1594,7 @@ under the License.
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-failsafe-plugin</artifactId>
-          <version>3.1.2</version>
+          <version>3.2.2</version>
           <configuration>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
             <runOrder>alphabetical</runOrder>