cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing a typo
Date Tue, 26 Jan 2016 14:12:53 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 75d475ba8 -> 7fa085a73


Fixing a typo


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

Branch: refs/heads/master
Commit: 7fa085a73381095df800effb301737febf4837fb
Parents: 75d475b
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Jan 26 14:11:39 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Jan 26 14:12:34 2016 +0000

----------------------------------------------------------------------
 .../cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/7fa085a7/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
index 6ac6922..5b67ca2 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
@@ -199,7 +199,7 @@ public abstract class AbstractOAuthDataProvider implements OAuthDataProvider,
Cl
             && OAuthUtils.isExpired(token.getIssuedAt(), token.getExpiresIn())) {
             revokeToken(client, token.getTokenKey(), OAuthConstants.ACCESS_TOKEN);
         }
-        return null;
+        return token;
         
     }
     


Mime
View raw message