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:03 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes c79bb840f -> ffef2eacf


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/ffef2eac
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/ffef2eac
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/ffef2eac

Branch: refs/heads/3.1.x-fixes
Commit: ffef2eacfb97193bc62494305e9e789b4ddf5ef7
Parents: c79bb84
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:11:39 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/ffef2eac/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 d8c9a47..53ccc63 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
@@ -204,7 +204,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