Return-Path: Delivered-To: apmail-incubator-cxf-commits-archive@locus.apache.org Received: (qmail 73471 invoked from network); 25 Mar 2008 18:19:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2008 18:19:12 -0000 Received: (qmail 93997 invoked by uid 500); 25 Mar 2008 18:19:11 -0000 Delivered-To: apmail-incubator-cxf-commits-archive@incubator.apache.org Received: (qmail 93882 invoked by uid 500); 25 Mar 2008 18:19:11 -0000 Mailing-List: contact cxf-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-commits@incubator.apache.org Received: (qmail 93873 invoked by uid 99); 25 Mar 2008 18:19:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 11:19:11 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 18:18:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7F0B61A9832; Tue, 25 Mar 2008 11:18:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r640926 - in /incubator/cxf/branches/2.0.x-fixes: ./ api/src/main/java/org/apache/cxf/configuration/ api/src/main/java/org/apache/cxf/configuration/jsse/ Date: Tue, 25 Mar 2008 18:18:49 -0000 To: cxf-commits@incubator.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080325181851.7F0B61A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Tue Mar 25 11:18:46 2008 New Revision: 640926 URL: http://svn.apache.org/viewvc?rev=640926&view=rev Log: Merged revisions 640844 via svnmerge from https://svn.apache.org/repos/asf/incubator/cxf/trunk ........ r640844 | gmazza | 2008-03-25 11:02:51 -0400 (Tue, 25 Mar 2008) | 1 line JavaDoc info added -- fixed the comments for the getters (were frequently using the same ones attached to the setters). ........ Modified: incubator/cxf/branches/2.0.x-fixes/ (props changed) incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurable.java incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurer.java incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSServerParameters.java Propchange: incubator/cxf/branches/2.0.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurable.java URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurable.java?rev=640926&r1=640925&r2=640926&view=diff ============================================================================== --- incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurable.java (original) +++ incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurable.java Tue Mar 25 11:18:46 2008 @@ -19,7 +19,7 @@ package org.apache.cxf.configuration; /** - * The configurable interface for get the bean's name + * A configurable interface for obtaining a bean's name * * A class which implements this interface should return the * unique bean name for configuration to use Modified: incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurer.java URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurer.java?rev=640926&r1=640925&r2=640926&view=diff ============================================================================== --- incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurer.java (original) +++ incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/Configurer.java Tue Mar 25 11:18:46 2008 @@ -22,7 +22,7 @@ /** * The configurer's interface * - * A class that implements this interface will perform the + * A class that implements this interface will perform a * bean's configuration work */ public interface Configurer { @@ -34,15 +34,15 @@ String USER_CFG_FILE_PROPERTY_URL = "cxf.config.file.url"; /** - * set up the Bean's value by use Dependency Injection from the application context - * @param beanInstance the instance of bean which need to be configured + * set up the Bean's value by using Dependency Injection from the application context + * @param beanInstance the instance of the bean which needs to be configured */ void configureBean(Object beanInstance); /** - * set up the Bean's value by use Dependency Injection from the application context + * set up the Bean's value by using Dependency Injection from the application context * with a proper name. You can use * as the prefix of wildcard name. - * @param name the name of the bean which need to be configured + * @param name the name of the bean which needs to be configured * @param beanInstance the instance of bean which need to be configured */ void configureBean(String name, Object beanInstance); Modified: incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java?rev=640926&r1=640925&r2=640926&view=diff ============================================================================== --- incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java (original) +++ incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSClientParameters.java Tue Mar 25 11:18:46 2008 @@ -18,6 +18,11 @@ */ package org.apache.cxf.configuration.jsse; +/** + * This class extends {@link TLSParameterBase} with client-specific + * SSL/TLS parameters. + * + */ public class TLSClientParameters extends TLSParameterBase { } Modified: incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java?rev=640926&r1=640925&r2=640926&view=diff ============================================================================== --- incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java (original) +++ incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java Tue Mar 25 11:18:46 2008 @@ -26,8 +26,9 @@ import javax.net.ssl.TrustManager; import org.apache.cxf.configuration.security.FiltersType; + /** - * This class is the base class for TLS parameters that are common + * This class is the base class for SSL/TLS parameters that are common * to both client and server sides. */ public class TLSParameterBase { @@ -40,15 +41,22 @@ private String protocol; /** - * This parameter configures the JSSE provider. If not set, it - * uses system default. + * Set the JSSE provider. If not set, + * it uses system default. */ public final void setJsseProvider(String prov) { provider = prov; + } + + /** + * Return the JSSE provider. + */ + public String getJsseProvider() { + return provider; } - + /** - * This parameter configures to use the following KeyManagers. + * Sets the KeyManagers for this endpoint. * This parameter may be set to null for system default behavior. */ public final void setKeyManagers(KeyManager[] keyMgrs) { @@ -56,7 +64,14 @@ } /** - * This parameter configures to use the following TrustManagers. + * Returns the key managers for the endpoint. + */ + public KeyManager[] getKeyManagers() { + return keyManagers; + } + + /** + * Sets the TrustManagers associated with this endpoint. * This parameter may be set to null for system default behavior. */ public final void setTrustManagers(TrustManager[] trustMgrs) { @@ -64,6 +79,13 @@ } /** + * Returns the TrustManagers associated with the endpoint. + */ + public TrustManager[] getTrustManagers() { + return trustManagers; + } + + /** * This parameter sets the cipher suites list to use. If left unset * it uses system defaults. */ @@ -72,6 +94,16 @@ } /** + * Returns the CipherSuites associated with this endpoint. + */ + public List getCipherSuites() { + if (ciphersuites == null) { + ciphersuites = new ArrayList(); + } + return ciphersuites; + } + + /** * This parameter sets the filter to include and/or exclude the * cipher suites to use from the set list or system defaults. */ @@ -80,11 +112,10 @@ } /** - * This sets the protocol to use. The system default is usually - * "TLS". + * Returns the cipher suites filter */ - public final void setSecureSocketProtocol(String proto) { - protocol = proto; + public FiltersType getCipherSuitesFilter() { + return cipherSuiteFilters; } /** @@ -96,61 +127,25 @@ } /** - * This sets the secure random alogorithm. If left unset or set - * to null, it uses the system default. + * Returns the secure random alogorithm. */ public SecureRandom getSecureRandom() { return secureRandom; } + /** * This sets the protocol to use. The system default is usually * "TLS". */ - public String getSecureSocketProtocol() { - return protocol; - } - - /** - * This parameter configures the JSSE provider. If not set, it - * uses system default. - */ - public String getJsseProvider() { - return provider; - } - - /** - * This parameter configures to use the following KeyManagers. - * This parameter may be set to null for system default behavior. - */ - public KeyManager[] getKeyManagers() { - return keyManagers; - } - - /** - * This parameter configures to use the following TrustManagers. - * This parameter may be set to null for system default behavior. - */ - public TrustManager[] getTrustManagers() { - return trustManagers; - } - - /** - * This parameter sets the cipher suites list to use. If left unset - * it uses system defaults. - */ - public List getCipherSuites() { - if (ciphersuites == null) { - ciphersuites = new ArrayList(); - } - return ciphersuites; + public final void setSecureSocketProtocol(String proto) { + protocol = proto; } /** - * This parameter sets the filter to include and/or exclude the - * cipher suites to use from the set list or system defaults. + * Returns the secure socket protocol in use. */ - public FiltersType getCipherSuitesFilter() { - return cipherSuiteFilters; + public String getSecureSocketProtocol() { + return protocol; } } Modified: incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSServerParameters.java URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSServerParameters.java?rev=640926&r1=640925&r2=640926&view=diff ============================================================================== --- incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSServerParameters.java (original) +++ incubator/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/configuration/jsse/TLSServerParameters.java Tue Mar 25 11:18:46 2008 @@ -22,6 +22,11 @@ import org.apache.cxf.configuration.security.ClientAuthentication; +/** + * This class extends {@link TLSParameterBase} with service-specific + * SSL/TLS parameters. + * + */ public class TLSServerParameters extends TLSParameterBase { ClientAuthentication clientAuthentication; @@ -36,8 +41,7 @@ } /** - * This parameter configures the server side to request and/or - * require client authentication. + * This parameter retrieves the client authentication settings. */ public ClientAuthentication getClientAuthentication() { return clientAuthentication;