Repository: syncope
Updated Branches:
  refs/heads/master 4ba66c335 -> eb69eb8dd


Switch to using Mime decoder


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

Branch: refs/heads/master
Commit: eb69eb8dd511c9e77d4cea2fc2dbd2cf65616ee2
Parents: 4ba66c3
Author: Colm O hEigeartaigh <cohei...@apache.org>
Authored: Mon Apr 3 15:01:51 2017 +0100
Committer: Colm O hEigeartaigh <cohei...@apache.org>
Committed: Mon Apr 3 15:01:51 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/syncope/core/logic/saml2/SAML2IdPEntity.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/eb69eb8d/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/saml2/SAML2IdPEntity.java
----------------------------------------------------------------------
diff --git 
a/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/saml2/SAML2IdPEntity.java
 
b/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/saml2/SAML2IdPEntity.java
index 40cecf7..a9b1b0d 100644
--- 
a/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/saml2/SAML2IdPEntity.java
+++ 
b/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/saml2/SAML2IdPEntity.java
@@ -98,7 +98,7 @@ public class SAML2IdPEntity {
             for (X509Data x509Data : key.getKeyInfo().getX509Datas()) {
                 for (org.opensaml.xmlsec.signature.X509Certificate cert : 
x509Data.getX509Certificates()) {
                     try (ByteArrayInputStream bais = new ByteArrayInputStream(
-                            Base64.getDecoder().decode(cert.getValue()))) {
+                            Base64.getMimeDecoder().decode(cert.getValue()))) {
                         
chain.add(X509Certificate.class.cast(cf.generateCertificate(bais)));
                     }
                 }

Reply via email to