Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 18392 invoked from network); 17 Nov 2006 17:48:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2006 17:48:48 -0000 Received: (qmail 29629 invoked by uid 500); 17 Nov 2006 17:48:58 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 29593 invoked by uid 500); 17 Nov 2006 17:48:58 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 29582 invoked by uid 99); 17 Nov 2006 17:48:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2006 09:48:57 -0800 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME 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; Fri, 17 Nov 2006 09:48:42 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 509541A984D; Fri, 17 Nov 2006 09:48:10 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r476229 [2/5] - in /geronimo/server/trunk: applications/ applications/console/geronimo-console-core/src/main/java/org/apache/geronimo/console/util/ applications/console/geronimo-console-framework/src/main/webapp/WEB-INF/data/ applications/c... Date: Fri, 17 Nov 2006 17:48:06 -0000 To: scm@geronimo.apache.org From: vamsic007@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061117174810.509541A984D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/SetupCAHandler.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/SetupCAHandler.java?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/SetupCAHandler.java (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/SetupCAHandler.java Fri Nov 17 09:48:02 2006 @@ -0,0 +1,111 @@ +/** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.console.ca; + +import java.io.IOException; +import java.math.BigInteger; +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.Date; +import java.util.GregorianCalendar; + +import javax.portlet.ActionRequest; +import javax.portlet.ActionResponse; +import javax.portlet.PortletException; +import javax.portlet.RenderRequest; +import javax.portlet.RenderResponse; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.geronimo.console.MultiPageModel; + +/** + * Handler for Setup CA screen to get CA details from user. + * + * @version $Rev$ $Date$ + */ +public class SetupCAHandler extends BaseCAHandler { + private final static Log log = LogFactory.getLog(SetupCAHandler.class); + public SetupCAHandler() { + super(SETUPCA_MODE, "/WEB-INF/view/ca/setupCA.jsp"); + } + + public String actionBeforeView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { + String[] params = {ERROR_MSG, INFO_MSG, "caCN", "caOU", "caO", "caL", "caST", "caC", "alias", "keyAlgorithm", "keySize", "algorithm", "validFrom", "validTo", "sNo", "password"}; + for(int i = 0; i < params.length; ++i) { + String value = request.getParameter(params[i]); + if(value != null) response.setRenderParameter(params[i], value); + } + return getMode(); + } + + public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model) throws PortletException, IOException { + String[] params = {ERROR_MSG, INFO_MSG, "caCN", "caOU", "caO", "caL", "caST", "caC", "alias", "keyAlgorithm", "keySize", "algorithm", "validFrom", "validTo", "sNo", "password"}; + for(int i = 0; i < params.length; ++i) { + Object value = request.getParameter(params[i]); + if(value != null) request.setAttribute(params[i], value); + } + } + + public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { + String errorMsg = null; + try { + // Validate the Serial Number + String sNo = request.getParameter("sNo"); + new BigInteger(sNo.trim()); + + // Validate the from and to dates + String validFrom = request.getParameter("validFrom"); + String validTo = request.getParameter("validTo"); + // Check if the from date format is MM/DD/YYYY + DateFormat df = new SimpleDateFormat("MM/dd/yyyy"); + Date validFromDate = df.parse(validFrom); + Calendar calendar = new GregorianCalendar(); + calendar.setTime(validFromDate); + String mmddyyyy = (calendar.get(Calendar.MONTH) < 9 ? "0":"") + (calendar.get(Calendar.MONTH)+1); + mmddyyyy += "/"+(calendar.get(Calendar.DAY_OF_MONTH) < 10 ? "0":"") + (calendar.get(Calendar.DAY_OF_MONTH)); + mmddyyyy += "/"+calendar.get(Calendar.YEAR); + if(!mmddyyyy.equals(validFrom)) { + throw new Exception("validFrom must be a date in MM/DD/YYYY format."); + } + // Check if the to date format is MM/DD/YYYY + Date validToDate = df.parse(validTo); + calendar.setTime(validToDate); + mmddyyyy = (calendar.get(Calendar.MONTH) < 9 ? "0":"") + (calendar.get(Calendar.MONTH)+1); + mmddyyyy += "/"+(calendar.get(Calendar.DAY_OF_MONTH) < 10 ? "0":"") + (calendar.get(Calendar.DAY_OF_MONTH)); + mmddyyyy += "/"+calendar.get(Calendar.YEAR); + if(!mmddyyyy.equals(validTo)) { + throw new Exception("validTo must be a date in MM/DD/YYYY format."); + } + // Check if the from date is before the to date + if(validFromDate.after(validToDate)) { + throw new Exception("Validity: From date '"+validFrom+"' is before the To date '"+validTo+"'."); + } + + // Load page to confirm CA details + return CONFIRM_CA_MODE+BEFORE_ACTION; + } catch(Exception e) { + errorMsg = e.toString(); + log.error("Error in user input during CA Setup.", e); + } + if(errorMsg != null) response.setRenderParameter(ERROR_MSG, errorMsg); + return getMode()+BEFORE_ACTION; + } + +} Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/UnlockCAHandler.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/UnlockCAHandler.java?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/UnlockCAHandler.java (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/UnlockCAHandler.java Fri Nov 17 09:48:02 2006 @@ -0,0 +1,86 @@ +/** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.console.ca; + +import java.io.IOException; + +import javax.portlet.ActionRequest; +import javax.portlet.ActionResponse; +import javax.portlet.PortletException; +import javax.portlet.RenderRequest; +import javax.portlet.RenderResponse; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.geronimo.console.MultiPageModel; +import org.apache.geronimo.management.geronimo.CertificationAuthority; + +/** + * Handler for unlock CA screen. + * + * @version $Rev$ $Date$ + */ +public class UnlockCAHandler extends BaseCAHandler { + private final static Log log = LogFactory.getLog(UnlockCAHandler.class); + public UnlockCAHandler() { + super(UNLOCKCA_MODE, "/WEB-INF/view/ca/unlockCA.jsp"); + } + + public String actionBeforeView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { + String[] params = {ERROR_MSG, INFO_MSG}; + for(int i = 0; i < params.length; ++i) { + String value = request.getParameter(params[i]); + if(value != null) response.setRenderParameter(params[i], value); + } + return getMode(); + } + + public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model) throws PortletException, IOException { + String[] params = {ERROR_MSG, INFO_MSG}; + for(int i = 0; i < params.length; ++i) { + Object value = request.getParameter(params[i]); + if(value != null) request.setAttribute(params[i], value); + } + } + + public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { + String errorMsg = null; + try { + String password = request.getParameter("password"); + if(password == null) { + throw new Exception("Password is null."); + } + CertificationAuthority ca = getCertificationAuthority(request); + if(ca == null) { + throw new Exception("CA is not running. CA may not have been initialized."); + } + ca.unlock(password.toCharArray()); + + // Return to CA's index page + response.setRenderParameter(INFO_MSG, "CA has been unlocked successfully!"); + log.info("CA has been unlocked successfully!"); + return INDEX_MODE+BEFORE_ACTION; + } catch(Exception e) { + errorMsg = e.toString(); + log.error("Errors in unlocking CA.", e); + } + // An error occurred. Set the error message and load the page again. + response.setRenderParameter(ERROR_MSG, errorMsg); + return getMode()+BEFORE_ACTION; + } +} Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/ViewCertificateHandler.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/ViewCertificateHandler.java?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/ViewCertificateHandler.java (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/ca/ViewCertificateHandler.java Fri Nov 17 09:48:02 2006 @@ -0,0 +1,106 @@ +/** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.console.ca; + +import java.io.IOException; +import java.math.BigInteger; +import java.security.PublicKey; +import java.security.cert.Certificate; +import java.security.interfaces.RSAPublicKey; +import java.util.HashMap; +import java.util.Map; + +import javax.portlet.ActionRequest; +import javax.portlet.ActionResponse; +import javax.portlet.PortletException; +import javax.portlet.RenderRequest; +import javax.portlet.RenderResponse; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.geronimo.console.MultiPageModel; +import org.apache.geronimo.management.geronimo.CertificationAuthority; +import org.apache.geronimo.util.CertificateUtil; + +/** + * Handler for view certificate screen. + * + * @version $Rev$ $Date$ + */ +public class ViewCertificateHandler extends BaseCAHandler { + private final static Log log = LogFactory.getLog(ViewCertificateHandler.class); + public ViewCertificateHandler() { + super(VIEW_CERT_MODE, "/WEB-INF/view/ca/viewCertificate.jsp"); + } + + public String actionBeforeView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { + String[] params = {ERROR_MSG, INFO_MSG, "sNo"}; + for(int i = 0; i < params.length; ++i) { + String value = request.getParameter(params[i]); + if(value != null) response.setRenderParameter(params[i], value); + } + return getMode(); + } + + public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model) throws PortletException, IOException { + String[] params = {ERROR_MSG, INFO_MSG}; + for(int i = 0; i < params.length; ++i) { + String value = request.getParameter(params[i]); + if(value != null) request.setAttribute(params[i], value); + } + String errorMsg = request.getParameter(ERROR_MSG); + String sNo = request.getParameter("sNo"); + try { + if(!request.getParameterMap().containsKey("sNo")) { + // Show the page to get serial number of the certificate to be viewed + request.setAttribute("sNo", null); + return; + } + CertificationAuthority ca = getCertificationAuthority(request); + + String certText = ca.getCertificateBase64Text(new BigInteger(sNo.trim())); + Certificate cert = ca.getCertificate(new BigInteger(sNo.trim())); + PublicKey publickey = cert.getPublicKey(); + String keySize = null; + if(publickey instanceof RSAPublicKey) { + keySize = ""+((RSAPublicKey)publickey).getModulus().bitLength(); + } + request.setAttribute("sNo", sNo); + request.setAttribute("cert", cert); + request.setAttribute("certText", certText); + request.setAttribute("keySize", keySize); + // Generate Certificate Fingerprints + Map fingerPrints = new HashMap(); + fingerPrints.put("MD5", CertificateUtil.generateFingerprint(cert, "MD5")); + fingerPrints.put("SHA1", CertificateUtil.generateFingerprint(cert, "SHA1")); + request.setAttribute("fingerPrints", fingerPrints); + // Check if the certificate issue process started from "requests to be fulfilled" page. + // If so, provide a link to go back to that page + if("true".equalsIgnoreCase(request.getParameter("linkToListRequests"))) + request.setAttribute("linkToListRequests", Boolean.TRUE); + } catch (Exception e) { + errorMsg = e.toString(); + log.error("Errors trying to view certificate with serial number '"+sNo+"'", e); + } + request.setAttribute(ERROR_MSG, errorMsg); + } + + public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model) throws PortletException, IOException { + return getMode()+BEFORE_ACTION; + } +} Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java?view=diff&rev=476229&r1=476228&r2=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java (original) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/util/PortletManager.java Fri Nov 17 09:48:02 2006 @@ -37,6 +37,7 @@ import org.apache.commons.logging.LogFactory; import org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl; import org.apache.geronimo.gbean.AbstractName; +import org.apache.geronimo.gbean.GBeanData; import org.apache.geronimo.kernel.Kernel; import org.apache.geronimo.kernel.KernelRegistry; import org.apache.geronimo.kernel.config.ConfigurationModuleType; @@ -387,6 +388,18 @@ ManagementHelper helper = getManagementHelper(request); return helper.getGBeansImplementing(iface); } + + /** + * This methods adds a GBean to an existing configuration. + * @param request PortletRequest object to get hold of ManagementHelper + * @param configID The configuration to add the GBean to. + * @param gbean The data representing the GBean to add. + * @param start If true, the GBean should be started as part of this call. + */ + public static void addGBeanToConfiguration(PortletRequest request, Artifact configID, GBeanData gbean, boolean start) { + ManagementHelper helper = getManagementHelper(request); + helper.addGBeanToConfiguration(configID, gbean, start); + } /** * Looks up the context prefix used by the portal, even if the thing running Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/portlet.xml URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/portlet.xml?view=diff&rev=476229&r1=476228&r2=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/portlet.xml (original) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/portlet.xml Fri Nov 17 09:48:02 2006 @@ -622,6 +622,29 @@ + Portlet for Certification Authority + CertificationAuthority + Certification Authority + + org.apache.geronimo.console.ca.CertificationAuthorityPortlet + + -1 + + + text/html + VIEW + + + en + + + Certification Authority + CA + Certification Certificate Authority + + + + Portlet for managing JMS connections JMSConnections JMS Connection Factory Portlet Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/_header.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/_header.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/_header.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/_header.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,9 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> + +

${infoMsg}

+
+ + +

Error: ${errorMsg}

+
Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/caDetails.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/caDetails.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/caDetails.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/caDetails.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,116 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + +

Certification Authority Details

+ +

This screen shows the details of CA's certificate and keypair. Highest Serial Number shows +the highest of serial number of any certificate issued by this CA. Certificate Text shows the CA's +certificate in base64 encoded form. This text can be used by the certificate requestors to designate +this CA as a trusted CA in their software.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Certificate Details
Version:${cert.version}
Subject:${cert.subjectDN.name}
Issuer:${cert.issuerDN.name}
Serial Number:${cert.serialNumber}
Valid From:${cert.notBefore}
Valid To:${cert.notAfter}
Signature Alg:${cert.sigAlgName}
Public Key Alg:${cert.publicKey.algorithm}
Key Size:${keySize}
critical ext: ${extoid}
non-critical ext: ${extoid}
Finger prints: + + ${fp.key} =   ${fp.value}
+
+
 
Highest Serial Number:${highestSerial}
 
Base64 encoded Certificate Text
+
+

+ + ">Back to CA home

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/certReqDetails.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/certReqDetails.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/certReqDetails.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/certReqDetails.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,95 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + + + +Issue New Certificate - Step 2: Review Request and enter Certificate details + +

This screen shows the details of the Certficate Signing Request (CSR) and allows you to input +the validity period and signature algorithm for the certificate to be issued. The certificate +serial number is automatically generated by incrementing the serial number of the last certificate +issued. The next screen will allow you to review & confirm these details and issue a certificate.

+ + + +
+ + + + + + + + + + + + + + + + +
Certificate Requestor Details
Subject: + ${subject} +
Public Key: +
${publickey}
+
 
+ + + + + + + + + + + + + + + + + + + + +
Details of the Certificate to be issued
Certificate Serial No.: + +
Valid From Date (mm/dd/yyyy): + +
Valid To Date (mm/dd/yyyy): + +
Signature Algorithm: + +
+ + +
+ +

+ + ">Cancel

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCA.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCA.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCA.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCA.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,119 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + +Setup Certification Authority - Step 2: Review and Confirm CA details + +

This screen lets you review the CA details entered in the previous screen. If you need to modify any +information shown here, please go back to the previous screen. Upon clicking the Setup Certification Authority +button, a keypair and a self-signed certificate will be generated and stored in a keystore. CA's certificate serial +number is stored in a text file and the number is incremented each time a CSR is processed by the CA.

+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Certification Authority's Identity
Common Name (CN): + ${caCN} +
Division/Business Unit (OU): + ${caOU} +
Company/Organization (O): + ${caO} +
City/Locality (L): + ${caL} +
State/Province (ST): + ${caST} +
Country Code (2 char) (C): + ${caC} +
 
Key Details
Alias for CA's keypair: + ${alias} +
Key Algorithm: + ${keyAlgorithm} +
Key Size: + ${keySize} +
Password: + ******** +
 
Certificate Details
Certificate Serial Number: + ${sNo} +
Valid From Date(mm/dd/yyyy): + ${validFrom} +
Valid To Date(mm/dd/yyyy): + ${validTo} +
Signature Algorithm: + ${algorithm} +
+ +
+ + +

+ + ">Cancel

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCertReq.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCertReq.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCertReq.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmCertReq.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,39 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + +Confirm Certificate Request + +

This screen shows the details of the Certficate Signing Request (CSR) and allows you to approve the request. +Once the request is approved, it will be considered for issue of a certificate.

+ + + +
+ + + + + + + + + + + + + + + +
Certificate Requestor Details
Subject: + ${subject} +
Public Key: +
${publickey}
+
 
+ + +
+ +

+ + ">Cancel

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmClientCert.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmClientCert.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmClientCert.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/confirmClientCert.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,69 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + +Issue New Certificate - Step 3: Confirm and Issue Certificate + +

This screen shows the CSR details and the certificate details entered in the previous screen. Upon clicking +the Issue Certificate button, a certificate will be issued and stored. The next screen will show the +details of the certificate issued.

+ + + +
+ + + + + + + + + + + + + + + + +
Certificate Requestor Details
Subject: + ${subject} +
Public Key: +
 ${publickey} 
+
 
+ + + + + + + + + + + + + + + + + + + + +
Details of the Certificate to be issued
Certificate Serial Number: + ${sNo} +
Valid From Date (mm/dd/yyyy): + ${validFrom} +
Valid To Date (mm/dd/yyyy): + ${validTo} +
Signature Algorithm: + ${algorithm} +
+ +
+ +

+ + ">Cancel

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/index.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/index.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/index.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/index.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,58 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + +

This portlet allows you to setup a Certification Authority (CA) and issue certificates in reply to +Certificate Signing Requests (CSRs). Setup Certification Authority function allows to initialize +the CA by providing CA Identity details, algorithm parameters for CA's key pair and self-signed certificate +and a password to protect the CA's private key. This password is to be used to unlock the CA to access CA +functions. +Once the CA is initialized, CSRs can be processed using Issue New Certificate function. Previously +issued certificates can be viewed using View Issued Certificate function. +

+ + + + + + +

CA is not running or the CA may not have been initialized. Please initialize the CA using the link provided below. + + + + +
">Setup Certification Authority
+ + + +

CA has been initialized. + + + But, the CA is locked. Please unlock the CA to access CA functions. + + + + +
">Unlock CA
+
+ + CA functions can be accessed using the links provided below. + + + + + + + + + + + + + +
 ">Lock CA   ">View CA Details   ">Publish CA Certificate   
 ">Requests to be verified  ">Requests to be fulfilled  ">Issue New Certificate   ">View Issued Certificate  
+
+
+ + Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsIssue.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsIssue.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsIssue.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsIssue.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,46 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + +Certificate Requests awaiting fulfillment + +

This screen shows the certificate requests waiting to be fulfilled.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Certificate Requests
+ + + + ">${csrId} +
There are no requests.
+

+ + ">Back to CA home

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsVerify.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsVerify.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsVerify.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/listRequestsVerify.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,46 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + +Certificate Requests awaiting verification + +

This screen shows the certificate requests waiting for verification.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Certificate Requests
+ + + + ">${csrId} +
There are no requests.
+

+ + ">Back to CA home

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/processCSR.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/processCSR.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/processCSR.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/processCSR.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,45 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + + + +Issue New Certificate - Step 1: Process Certificate Signing Request (CSR) + +

This screen lets you process Certificate Signing Request (CSR) text and view the details +of the requestor. Paste the content of CSR text file you received from the requestor and click on +Process CSR button. The next screen will show the details of the requestor and allow you +to input information required to issue a certificate.

+ + + +
+ + + + + + + + +
CSR Text
+ +
+ + +
+ +

+ + ">Cancel

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/setupCA.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/setupCA.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/setupCA.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/setupCA.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,170 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + + + +Setup Certification Authority - Step 1: Enter CA details + +

On this screen you can enter the Certification Authority (CA) details, algorithm parameters +for CA's keypair, algorithm for CA's self signed certificate and a password to protect +the CA's private key. The next screen will let you review this information before +generating the CA's keypair and self-signed certificate.

+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Certification Authority's Identity
Common Name (CN): + +
Division/Business Unit (OU): + +
Company/Organization (O): + +
City/Locality (L): + +
State/Province (ST): + +
Country Code (2 char) (C): + +
 
Key Details
Alias: + +
Key Algorithm: + +
Key Size: + +
Password: + +
Confirm Password: + +
 
Certificate Details
Certificate Serial Number: + +
Valid From Date(mm/dd/yyyy): + +
Valid To Date(mm/dd/yyyy): + +
Signature Algorithm: + +
+ + +
+ +

+ + ">Cancel

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/unlockCA.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/unlockCA.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/unlockCA.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/unlockCA.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,34 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + + +Unlock Certification Authority + +

This screen lets you unlock the CA by providing the password used to protect +the CA's private key. Once unlocked, the CA functions will be available.

+ + + +
+ + Enter the CA's private key password: + +
+ + + +
+ +

+ + ">Cancel

Added: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/viewCertificate.jsp URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/viewCertificate.jsp?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/viewCertificate.jsp (added) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ca/viewCertificate.jsp Fri Nov 17 09:48:02 2006 @@ -0,0 +1,151 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> + + + + +View Certificate + + + + + + +

Enter the serial number of the certificate to be viewed and click on View Certificate button.

+
+ + + + + + +
Certificate Serial Number.: + +
+ + +
+
+ +

This screen shows the details of a certificate issued by the CA. The base64 encoded certificate text + should be sent to the requestor as a reply to their Certificate Signing Request (CSR).

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Certificate Details
Version:${cert.version}
Subject:${cert.subjectDN.name}
Issuer:${cert.issuerDN.name}
Serial Number:${cert.serialNumber}
Valid From:${cert.notBefore}
Valid To:${cert.notAfter}
Signature Alg:${cert.sigAlgName}
Public Key Alg:${cert.publicKey.algorithm}
Key Size:${keySize}
critical ext: ${extoid}
non-critical ext: ${extoid}
Finger prints: + + ${fp.key} =   ${fp.value}
+
+
 
Base64 encoded Certificate Text
+
+
+
+
+ + +

+ + ">Back to Requests to be fulfilled

+
+ +

+ + ">Back to CA home

+
+
Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/web.xml?view=diff&rev=476229&r1=476228&r2=476229 ============================================================================== --- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/web.xml (original) +++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/web.xml Fri Nov 17 09:48:02 2006 @@ -244,6 +244,19 @@ console-standard.Keystores + + Pluto Wrapper for Certification Authority Portlet + CertificationAuthority + org.apache.pluto.core.PortletServlet + + portlet-class + org.apache.geronimo.console.ca.CertificationAuthorityPortlet + + + portlet-guid + console-standard.CertificationAuthority + + @@ -888,6 +901,10 @@ Keystores /Keystores/* + + + CertificationAuthority + /CertificationAuthority/* Added: geronimo/server/trunk/applications/geronimo-ca-helper/LICENSE.txt URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-ca-helper/LICENSE.txt?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/geronimo-ca-helper/LICENSE.txt (added) +++ geronimo/server/trunk/applications/geronimo-ca-helper/LICENSE.txt Fri Nov 17 09:48:02 2006 @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + Added: geronimo/server/trunk/applications/geronimo-ca-helper/NOTICE.txt URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-ca-helper/NOTICE.txt?view=auto&rev=476229 ============================================================================== --- geronimo/server/trunk/applications/geronimo-ca-helper/NOTICE.txt (added) +++ geronimo/server/trunk/applications/geronimo-ca-helper/NOTICE.txt Fri Nov 17 09:48:02 2006 @@ -0,0 +1,6 @@ +Apache Geronimo +Copyright 2006-2007 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). +