[java-identity-provider] branch master updated: fix tests

Rod Widdowson rdw at steadingsoftware.com
Tue Oct 15 10:55:04 EDT 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=ad3c53cada7fd0204c058c55052fe2ea59ca42bd

The following commit(s) were added to refs/heads/master by this push:
       new  ad3c53c   fix tests
ad3c53c is described below

commit ad3c53cada7fd0204c058c55052fe2ea59ca42bd
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Oct 15 15:55:04 2019 +0100

    fix tests
---
 .../src/main/java/net/shibboleth/idp/installer/InstallerSupport.java  | 4 ++--
 .../net/shibboleth/idp/installer/ant/impl/MetadataGeneratorTask.java  | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java
index df0a9f0..9844fd5 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java
@@ -130,10 +130,10 @@ public final class InstallerSupport {
             log.debug("Not windows. Not [re]setting readonly bit");
             return;
         }
-        final String line; 
+        final String line;
         if (readOnly) {
             line = "cmd /c attrib /s +r *";
-        } else { 
+        } else {
             line = "cmd /c attrib /s -r *";
         }
         final String[] command = line.split(" ");
diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/ant/impl/MetadataGeneratorTask.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/ant/impl/MetadataGeneratorTask.java
index 4baa1e2..3f40b66 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/ant/impl/MetadataGeneratorTask.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/ant/impl/MetadataGeneratorTask.java
@@ -167,6 +167,8 @@ public class MetadataGeneratorTask extends Task {
             parameters.initialize();
 
             final MetadataGeneratorImpl generator = new MetadataGeneratorImpl();
+            generator.setSAML2AttributeQueryCommented(saml2AttributeQueryCommented);
+            generator.setSAML2LogoutCommented(saml2LogoutCommented);
             generator.setParameters(parameters);
             generator.setOutput(outputFile);
             generator.initialize();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list