Repository: syncope
Updated Branches:
  refs/heads/2_0_X c306a3bf9 -> 1a5baa232
  refs/heads/master 81515d7e2 -> b627a63d2


Build with JDK 7


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/1a5baa23
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/1a5baa23
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/1a5baa23

Branch: refs/heads/2_0_X
Commit: 1a5baa23252761c54e5728d4b99e2f25a4e7182f
Parents: c306a3b
Author: Francesco Chicchiriccò <ilgro...@apache.org>
Authored: Fri Aug 11 16:27:43 2017 +0200
Committer: Francesco Chicchiriccò <ilgro...@apache.org>
Committed: Fri Aug 11 16:27:43 2017 +0200

----------------------------------------------------------------------
 .../src/test/java/org/apache/syncope/fit/core/SAML2ITCase.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/1a5baa23/fit/core-reference/src/test/java/org/apache/syncope/fit/core/SAML2ITCase.java
----------------------------------------------------------------------
diff --git 
a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/SAML2ITCase.java 
b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/SAML2ITCase.java
index 0170f51..0f51f2c 100644
--- 
a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/SAML2ITCase.java
+++ 
b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/SAML2ITCase.java
@@ -502,7 +502,7 @@ public class SAML2ITCase extends AbstractITCase {
         InputStream input = Files.newInputStream(truststorePath);
         keyStore.load(input, "security".toCharArray());
         X509Certificate cert = (X509Certificate) 
keyStore.getCertificate("subject");
-        String certEncoded = 
java.util.Base64.getMimeEncoder().encodeToString(cert.getEncoded());
+        String certEncoded = Base64.encodeBase64String(cert.getEncoded());
 
         // Replace the "cert-placeholder" string in the metadata with the 
actual cert
         String basedir = System.getProperty("basedir");

Reply via email to