This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push: new 077751e Fixing Base64 encoding issue for SAML SSO 077751e is described below commit 077751e99bcb028aae714b909c8e19d4b9dbd470 Author: Colm O hEigeartaigh <cohei...@apache.org> AuthorDate: Wed Sep 27 14:15:09 2017 +0100 Fixing Base64 encoding issue for SAML SSO --- .../org/apache/cxf/rs/security/saml/sso/SamlRedirectBindingFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/SamlRedirectBindingFilter.java b/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/SamlRedirectBindingFilter.java index 0ecc9f8..6826145 100644 --- a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/SamlRedirectBindingFilter.java +++ b/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/SamlRedirectBindingFilter.java @@ -159,7 +159,7 @@ public class SamlRedirectBindingFilter extends AbstractServiceProviderFilter { signature.update(requestToSign.getBytes(StandardCharsets.UTF_8)); byte[] signBytes = signature.sign(); - String encodedSignature = Base64.getMimeEncoder().encodeToString(signBytes); + String encodedSignature = Base64.getEncoder().encodeToString(signBytes); ub.queryParam(SSOConstants.SIGNATURE, URLEncoder.encode(encodedSignature, StandardCharsets.UTF_8.name())); -- To stop receiving notification emails like this one, please contact ['"commits@cxf.apache.org" <commits@cxf.apache.org>'].