001 /**
002 *
003 * Licensed to the Apache Software Foundation (ASF) under one or more
004 * contributor license agreements. See the NOTICE file distributed with
005 * this work for additional information regarding copyright ownership.
006 * The ASF licenses this file to You under the Apache License, Version 2.0
007 * (the "License"); you may not use this file except in compliance with
008 * the License. You may obtain a copy of the License at
009 *
010 * http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 */
018 package org.apache.geronimo.tomcat;
019
020 import org.apache.geronimo.management.geronimo.SecureConnector;
021
022 /**
023 * @version $Rev: 470597 $ $Date: 2006-11-02 15:30:55 -0800 (Thu, 02 Nov 2006) $
024 */
025 public interface TomcatSecureConnector extends SecureConnector {
026 /**
027 * Gets the name of the keystore file that holds the trusted CA certificates
028 * used for client certificate authentication.
029 * This is relative to the Geronimo home directory.
030 */
031 public String getTruststoreFileName();
032 /**
033 * Sets the name of the keystore file that holds the trusted CA certificates
034 * used for client certificate authentication.
035 * This is relative to the Geronimo home directory.
036 */
037 public void setTruststoreFileName(String name);
038 /**
039 * Sets the password used to verify integrity of truststore.
040 */
041 public void setTruststorePassword(String password);
042 /**
043 * Gets the format of the entries in the keystore. The default format for
044 * Java keystores is JKS, though some connector implementations support
045 * PCKS12 (and possibly other formats).
046 */
047 public String getTruststoreType();
048 /**
049 * Sets the format of the entries in the keystore. The default format for
050 * Java keystores is JKS, though some connector implementations support
051 * PCKS12 (and possibly other formats).
052 */
053 public void setTruststoreType(String type);
054
055 /**
056 * Gets a comma seperated list of the encryption ciphers that may be used. If not
057 * specified, then any available cipher may be used.
058 */
059 public String getCiphers();
060
061 /**
062 * Sets a comma seperated list of the encryption ciphers that may be used. If not
063 * specified, then any available cipher may be used.
064 */
065 public void setCiphers(String ciphers);
066 }