KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > geronimo > tomcat > TomcatSecureConnector


1 /**
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.geronimo.tomcat;
18
19 import org.apache.geronimo.management.geronimo.SecureConnector;
20
21 /**
22  * @version $Rev: 476049 $ $Date: 2006-11-16 23:35:17 -0500 (Thu, 16 Nov 2006) $
23  */

24 public interface TomcatSecureConnector extends SecureConnector {
25     /**
26      * Gets the name of the keystore file that holds the trusted CA certificates
27      * used for client certificate authentication.
28      * This is relative to the Geronimo home directory.
29      */

30     public String JavaDoc getTruststoreFileName();
31     /**
32      * Sets the name of the keystore file that holds the trusted CA certificates
33      * used for client certificate authentication.
34      * This is relative to the Geronimo home directory.
35      */

36     public void setTruststoreFileName(String JavaDoc name);
37     /**
38      * Sets the password used to verify integrity of truststore.
39      */

40     public void setTruststorePassword(String JavaDoc password);
41     /**
42      * Gets the format of the entries in the keystore. The default format for
43      * Java keystores is JKS, though some connector implementations support
44      * PCKS12 (and possibly other formats).
45      */

46     public String JavaDoc getTruststoreType();
47     /**
48      * Sets the format of the entries in the keystore. The default format for
49      * Java keystores is JKS, though some connector implementations support
50      * PCKS12 (and possibly other formats).
51      */

52     public void setTruststoreType(String JavaDoc type);
53
54     /**
55      * Gets a comma seperated list of the encryption ciphers that may be used. If not
56      * specified, then any available cipher may be used.
57      */

58     public String JavaDoc getCiphers();
59
60     /**
61      * Sets a comma seperated list of the encryption ciphers that may be used. If not
62      * specified, then any available cipher may be used.
63      */

64     public void setCiphers(String JavaDoc ciphers);
65 }
66
Popular Tags