Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 624bb36e4 -> 1d03ca5c0
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/1d03ca5c Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/1d03ca5c Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/1d03ca5c Branch: refs/heads/3.0.x-fixes Commit: 1d03ca5c04d2fe210919cf57a0b0dce820346460 Parents: 624bb36 Author: Sergey Beryozkin <sberyoz...@talend.com> Authored: Tue Apr 14 18:01:07 2015 -0500 Committer: Sergey Beryozkin <sberyoz...@talend.com> Committed: Tue Apr 14 18:03:03 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/1d03ca5c/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;