You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by mm...@apache.org on 2020/10/18 07:34:01 UTC

[syncope] branch master updated: NOJIRA: Fix ITs for SRA/WA (#220)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c4eead9  NOJIRA: Fix ITs for SRA/WA (#220)
c4eead9 is described below

commit c4eead992999421a2200d9727c254696503c7b50
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Sun Oct 18 11:31:48 2020 +0400

    NOJIRA: Fix ITs for SRA/WA (#220)
---
 pom.xml                                                             | 2 +-
 .../wa/starter/saml/idp/metadata/RestfulSamlIdPMetadataLocator.java | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 84cd1a6..7f5b779 100644
--- a/pom.xml
+++ b/pom.xml
@@ -449,7 +449,7 @@ under the License.
 
     <pac4j.version>4.1.0</pac4j.version>
 
-    <cas.version>6.3.0-RC3</cas.version>
+    <cas.version>6.3.0-SNAPSHOT</cas.version>
     <cas-client.version>3.6.1</cas-client.version>
 
     <h2.version>1.4.200</h2.version>
diff --git a/wa/starter/src/main/java/org/apache/syncope/wa/starter/saml/idp/metadata/RestfulSamlIdPMetadataLocator.java b/wa/starter/src/main/java/org/apache/syncope/wa/starter/saml/idp/metadata/RestfulSamlIdPMetadataLocator.java
index 0e12872..bac0013 100644
--- a/wa/starter/src/main/java/org/apache/syncope/wa/starter/saml/idp/metadata/RestfulSamlIdPMetadataLocator.java
+++ b/wa/starter/src/main/java/org/apache/syncope/wa/starter/saml/idp/metadata/RestfulSamlIdPMetadataLocator.java
@@ -69,7 +69,11 @@ public class RestfulSamlIdPMetadataLocator extends AbstractSamlIdPMetadataLocato
             LOG.warn("Not a valid SAML2 IdP metadata document");
             return null;
         } catch (SyncopeClientException e) {
-            LOG.error("While fetching SAML2 IdP metadata", e);
+            if (e.getType() == ClientExceptionType.NotFound) {
+                LOG.info(e.getMessage());
+            } else {
+                LOG.error("While fetching SAML2 IdP metadata", e);
+            }
         }
 
         return null;