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 6D4441059E for ; Wed, 14 Aug 2013 15:34:49 +0000 (UTC) Received: (qmail 39958 invoked by uid 500); 14 Aug 2013 15:34:49 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 39866 invoked by uid 500); 14 Aug 2013 15:34:49 -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 39859 invoked by uid 99); 14 Aug 2013 15:34:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 15:34:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 15:34:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 3FCEB2388860; Wed, 14 Aug 2013 15:34:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1513931 - in /cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse: TLSClientParameters.java TLSParameterBase.java Date: Wed, 14 Aug 2013 15:34:25 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130814153425.3FCEB2388860@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: coheigea Date: Wed Aug 14 15:34:24 2013 New Revision: 1513931 URL: http://svn.apache.org/r1513931 Log: Merged revisions 1513930 via git cherry-pick from https://svn.apache.org/repos/asf/cxf/trunk ........ r1513930 | coheigea | 2013-08-14 16:32:51 +0100 (Wed, 14 Aug 2013) | 2 lines [CXF-5205] - Client SSL Cache Timeout default is specified in milliseconds rather than seconds ........ Modified: cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java Modified: cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java?rev=1513931&r1=1513930&r2=1513931&view=diff ============================================================================== --- cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java (original) +++ cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java Wed Aug 14 15:34:24 2013 @@ -30,7 +30,7 @@ import javax.net.ssl.SSLSocketFactory; public class TLSClientParameters extends TLSParameterBase { private boolean disableCNCheck; private SSLSocketFactory sslSocketFactory; - private int sslCacheTimeout = 86400000; + private int sslCacheTimeout = 86400; private boolean useHttpsURLConnectionDefaultSslSocketFactory; private boolean useHttpsURLConnectionDefaultHostnameVerifier; @@ -70,14 +70,14 @@ public class TLSClientParameters extends } /** - * Returns the SSL cache timeout if it has been configured or the JDK default value + * Returns the SSL cache timeout in seconds if it has been configured or the default value */ public int getSslCacheTimeout() { return sslCacheTimeout; } /** - * This sets the SSL Session Cache timeout value for client sessions handled by CXF + * This sets the SSL Session Cache timeout value in seconds for client sessions handled by CXF */ public void setSslCacheTimeout(int sslCacheTimeout) { this.sslCacheTimeout = sslCacheTimeout; Modified: cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java?rev=1513931&r1=1513930&r2=1513931&view=diff ============================================================================== --- cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java (original) +++ cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java Wed Aug 14 15:34:24 2013 @@ -121,7 +121,7 @@ public class TLSParameterBase { } /** - * This sets the secure random provider and alogorithm. If left unset or set + * This sets the secure random provider and algorithm. If left unset or set * to null, it uses the system default. */ public final void setSecureRandom(SecureRandom random) { @@ -143,7 +143,7 @@ public class TLSParameterBase { } /** - * Returns the secure random alogorithm. + * Returns the secure random algorithm. */ public SecureRandom getSecureRandom() { return secureRandom;