You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2015/04/15 01:01:24 UTC
cxf git commit: Minor update to BearerAuthSupplier
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 <sb...@talend.com>
Authored: Tue Apr 14 18:01:07 2015 -0500
Committer: Sergey Beryozkin <sb...@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;