cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1455110 - /cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/OAuthClientUtils.java
Date Mon, 11 Mar 2013 12:16:36 GMT
Author: sergeyb
Date: Mon Mar 11 12:16:36 2013
New Revision: 1455110

URL: http://svn.apache.org/r1455110
Log:
[CXF-4888] Fixing OAuthClientUtils ignoring an authorizationHeader property in one of the
methods

Modified:
    cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/OAuthClientUtils.java

Modified: cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/OAuthClientUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/OAuthClientUtils.java?rev=1455110&r1=1455109&r2=1455110&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/OAuthClientUtils.java
(original)
+++ cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/OAuthClientUtils.java
Mon Mar 11 12:16:36 2013
@@ -134,7 +134,7 @@ public final class OAuthClientUtils {
         WebClient accessTokenService = 
             WebClient.create(accessTokenServiceUri, Collections.singletonList(provider));
         accessTokenService.accept("application/json");
-        return getAccessToken(accessTokenService, consumer, grant, true);
+        return getAccessToken(accessTokenService, consumer, grant, setAuthorizationHeader);
     }
     
     /**



Mime
View raw message