cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor update to BearerAuthSupplier
Date Tue, 14 Apr 2015 23:01:24 GMT
Repository: cxf
Updated Branches:
  refs/heads/master bc752dc5b -> 18b46a409


Minor update to BearerAuthSupplier


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

Branch: refs/heads/master
Commit: 18b46a409fd14848871a51cd2cacf6cfaac6b2ed
Parents: bc752dc
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Tue Apr 14 18:01:07 2015 -0500
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Tue Apr 14 18:01:07 2015 -0500

----------------------------------------------------------------------
 .../apache/cxf/rs/security/oauth2/client/AbstractAuthSupplier.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/18b46a40/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/AbstractAuthSupplier.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/AbstractAuthSupplier.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/AbstractAuthSupplier.java
index aecc472..3c5310d 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/AbstractAuthSupplier.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/AbstractAuthSupplier.java
@@ -31,7 +31,7 @@ public abstract class AbstractAuthSupplier {
         clientAccessToken.setTokenKey(accessToken);
     }
     protected String createAuthorizationHeader() {
-        return clientAccessToken.getTokenType() + " " + clientAccessToken.getTokenKey();
+        return OAuthClientUtils.createAuthorizationHeader(clientAccessToken);
     }
     protected ClientAccessToken getClientAccessToken() {
         return clientAccessToken;


Mime
View raw message