cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Updating DefaultEHCacheCodeDataProvider codeLifetime to the max recommended value
Date Thu, 26 Nov 2015 10:19:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes cf2592377 -> d5bfcb305


Updating DefaultEHCacheCodeDataProvider codeLifetime to the max recommended value


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

Branch: refs/heads/3.1.x-fixes
Commit: d5bfcb30520bc8422b3aae0335c57acd6f51d3a2
Parents: cf25923
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Nov 26 10:17:56 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Nov 26 10:19:15 2015 +0000

----------------------------------------------------------------------
 .../oauth2/grants/code/DefaultEHCacheCodeDataProvider.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/d5bfcb30/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.java
index ea9ace8..1419329 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.java
@@ -28,7 +28,7 @@ public class DefaultEHCacheCodeDataProvider extends DefaultEHCacheOAuthDataProvi
     implements AuthorizationCodeDataProvider {
     public static final String CODE_GRANT_CACHE_KEY = "cxf.oauth2.codegrant.cache";
     
-    private long codeLifetime = 3600L;
+    private long codeLifetime = 10 * 60;
     private Ehcache codeGrantCache;
     
     protected DefaultEHCacheCodeDataProvider() {


Mime
View raw message