cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Setting a default code lifetime to 10 mins
Date Mon, 16 Nov 2015 14:21:03 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 19fbcb507 -> b0caef778


Setting a default code lifetime to 10 mins


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

Branch: refs/heads/3.0.x-fixes
Commit: b0caef7781a438cb4abb39196484efdc54680e5b
Parents: 19fbcb5
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Nov 16 14:18:47 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Nov 16 14:20:48 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/b0caef77/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AbstractCodeDataProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AbstractCodeDataProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AbstractCodeDataProvider.java
index 7d3b1a0..fff16fa 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AbstractCodeDataProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AbstractCodeDataProvider.java
@@ -23,7 +23,7 @@ import org.apache.cxf.rs.security.oauth2.provider.OAuthServiceException;
 
 public abstract class AbstractCodeDataProvider extends AbstractOAuthDataProvider 
     implements AuthorizationCodeDataProvider {
-    private long codeLifetime = 3600L;
+    private long codeLifetime = 10 * 60;
     
     protected AbstractCodeDataProvider() {
     }


Mime
View raw message