cxf git commit: Minor update to BearerAuthSupplier

2015-04-14 Thread sergeyb
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 
Authored: Tue Apr 14 18:01:07 2015 -0500
Committer: Sergey Beryozkin 
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;



cxf git commit: Minor update to BearerAuthSupplier

2015-04-14 Thread sergeyb
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 
Authored: Tue Apr 14 18:01:07 2015 -0500
Committer: Sergey Beryozkin 
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;