You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/01/19 12:17:01 UTC

[cxf-fediz] branch 1.4.x-fixes updated: Minor fix

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

coheigea pushed a commit to branch 1.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git


The following commit(s) were added to refs/heads/1.4.x-fixes by this push:
     new f706d12  Minor fix
f706d12 is described below

commit f706d12121e005a38e5b3d399eaec28afcd9a4b8
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Fri Jan 19 11:59:32 2018 +0000

    Minor fix
---
 .../cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
index 96d56e6..69a9539 100644
--- a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
+++ b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
@@ -131,9 +131,8 @@ public class TrustedIdpOIDCProtocolHandler extends AbstractTrustedIdpOAuth2Proto
             WebClient client =
                 WebClient.create(tokenEndpoint, providers, clientId, clientSecret, "cxf-tls.xml");
 
-            ClientConfiguration config = WebClient.getConfig(client);
-
             if (LOG.isDebugEnabled()) {
+                ClientConfiguration config = WebClient.getConfig(client);
                 config.getOutInterceptors().add(new LoggingOutInterceptor());
                 config.getInInterceptors().add(new LoggingInInterceptor());
             }

-- 
To stop receiving notification emails like this one, please contact
['"commits@cxf.apache.org" <co...@cxf.apache.org>'].