Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6997B18D34 for ; Mon, 16 Nov 2015 14:19:03 +0000 (UTC) Received: (qmail 5143 invoked by uid 500); 16 Nov 2015 14:19:03 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 5081 invoked by uid 500); 16 Nov 2015 14:19:03 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 5072 invoked by uid 99); 16 Nov 2015 14:19:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 14:19:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EA8EEE050C; Mon, 16 Nov 2015 14:19:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Setting a default code lifetime to 10 mins Date: Mon, 16 Nov 2015 14:19:02 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/master 528aa43d8 -> 06f99f508 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/06f99f50 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/06f99f50 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/06f99f50 Branch: refs/heads/master Commit: 06f99f508955776ec514ac02028876c5f7c5ece5 Parents: 528aa43 Author: Sergey Beryozkin Authored: Mon Nov 16 14:18:47 2015 +0000 Committer: Sergey Beryozkin Committed: Mon Nov 16 14:18:47 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/06f99f50/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() { }