geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r500038 - in /geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat: HttpsConnectorGBean.java TomcatSecureConnector.java
Date Thu, 25 Jan 2007 23:01:46 GMT
Author: jgenender
Date: Thu Jan 25 15:01:46 2007
New Revision: 500038

URL: http://svn.apache.org/viewvc?view=rev&rev=500038
Log:
GERONIMO-2780 - Add keyAlias to the connector

Modified:
    geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/HttpsConnectorGBean.java
    geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatSecureConnector.java

Modified: geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/HttpsConnectorGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/HttpsConnectorGBean.java?view=diff&rev=500038&r1=500037&r2=500038
==============================================================================
--- geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/HttpsConnectorGBean.java
(original)
+++ geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/HttpsConnectorGBean.java
Thu Jan 25 15:01:46 2007
@@ -223,6 +223,22 @@
         connector.setAttribute("ciphers", ciphers);
     }
 
+    /**
+     * Sets a keyAlias if one is being used
+     * @param keyAlias
+     */
+     public void setKeyAlias(String keyAlias) {
+        connector.setAttribute("keyAlias", keyAlias);
+    }
+
+    /**
+     * Gets the key alias
+     * @return key alias
+     */
+     public String getKeyAlias() {
+        return (String)connector.getAttribute("keyAlias");
+    }
+
     public static final GBeanInfo GBEAN_INFO;
 
     static {
@@ -239,6 +255,8 @@
         infoFactory.addAttribute("truststoreType", String.class, true, true);
         infoFactory.addAttribute("clientAuthRequired", boolean.class, true, true);
         infoFactory.addAttribute("ciphers", String.class, true, true);
+        infoFactory.addAttribute("keyAlias", String.class, true, true);
+ 
         infoFactory.addInterface(TomcatSecureConnector.class);
 
         infoFactory.addReference("ServerInfo", ServerInfo.class, "GBean");

Modified: geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatSecureConnector.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatSecureConnector.java?view=diff&rev=500038&r1=500037&r2=500038
==============================================================================
--- geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatSecureConnector.java
(original)
+++ geronimo/server/trunk/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatSecureConnector.java
Thu Jan 25 15:01:46 2007
@@ -62,4 +62,16 @@
      * specified, then any available cipher may be used.
      */
     public void setCiphers(String ciphers);
+
+    /**
+     * Sets a keyAlias if one is being used
+     * @param keyAlias
+     */
+    public void setKeyAlias(String keyAlias);
+
+    /**
+     * Gets the key alias
+     * @return key alias
+     */
+    public String getKeyAlias();
 }



Mime
View raw message