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

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


The following commit(s) were added to refs/heads/2_1_X by this push:
     new ebbb488  [SYNCOPE-1531] Fix build
ebbb488 is described below

commit ebbb48800a02ef5cb455f62ded8da37f6f12e020
Author: Francesco Chicchiriccò <ilgro...@apache.org>
AuthorDate: Sun Mar 15 11:50:15 2020 +0100

    [SYNCOPE-1531] Fix build
---
 client/console/pom.xml                                            | 8 --------
 .../org/apache/syncope/client/console/panels/SAML2SPPanel.java    | 5 +++--
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/client/console/pom.xml b/client/console/pom.xml
index 2867882..e6b6b70 100644
--- a/client/console/pom.xml
+++ b/client/console/pom.xml
@@ -191,14 +191,6 @@ under the License.
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.3.2</version>
-        <configuration>
-          <debug>true</debug>
-        </configuration>
-      </plugin>
     </plugins>
     
     <resources>
diff --git 
a/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2SPPanel.java
 
b/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2SPPanel.java
index c0d414e..d277563 100644
--- 
a/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2SPPanel.java
+++ 
b/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2SPPanel.java
@@ -21,6 +21,7 @@ package org.apache.syncope.client.console.panels;
 import javax.ws.rs.client.ClientBuilder;
 import org.apache.syncope.client.console.SyncopeConsoleSession;
 import org.apache.syncope.client.console.commons.HttpResourceStream;
+import org.apache.syncope.client.console.rest.ResponseHolder;
 import org.apache.wicket.markup.html.link.Link;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.request.Url;
@@ -47,10 +48,10 @@ public class SAML2SPPanel extends Panel {
             @Override
             public void onClick() {
                 try {
-                    HttpResourceStream stream = new 
HttpResourceStream(ClientBuilder.newClient().
+                    HttpResourceStream stream = new HttpResourceStream(new 
ResponseHolder(ClientBuilder.newClient().
                             
target(RequestCycle.get().getUrlRenderer().renderFullUrl(Url.parse(
                                     
UrlUtils.rewriteToContextRelative("saml2sp/metadata", RequestCycle.get())))).
-                            request().get());
+                            request().get()));
 
                     ResourceStreamRequestHandler rsrh = new 
ResourceStreamRequestHandler(stream);
                     rsrh.setFileName(stream.getFilename() == null

Reply via email to