01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: */package org.apache.geronimo.tomcat;
17:
18: import org.apache.geronimo.management.geronimo.SecureConnector;
19:
20: /**
21: * @version $Rev: 500038 $ $Date: 2007-01-25 15:01:46 -0800 (Thu, 25 Jan 2007) $
22: */
23: public interface TomcatSecureConnector extends SecureConnector {
24: /**
25: * Gets the name of the keystore file that holds the trusted CA certificates
26: * used for client certificate authentication.
27: * This is relative to the Geronimo home directory.
28: */
29: public String getTruststoreFileName();
30:
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 name);
37:
38: /**
39: * Sets the password used to verify integrity of truststore.
40: */
41: public void setTruststorePassword(String password);
42:
43: /**
44: * Gets the format of the entries in the keystore. The default format for
45: * Java keystores is JKS, though some connector implementations support
46: * PCKS12 (and possibly other formats).
47: */
48: public String getTruststoreType();
49:
50: /**
51: * Sets the format of the entries in the keystore. The default format for
52: * Java keystores is JKS, though some connector implementations support
53: * PCKS12 (and possibly other formats).
54: */
55: public void setTruststoreType(String type);
56:
57: /**
58: * Gets a comma seperated list of the encryption ciphers that may be used. If not
59: * specified, then any available cipher may be used.
60: */
61: public String getCiphers();
62:
63: /**
64: * Sets a comma seperated list of the encryption ciphers that may be used. If not
65: * specified, then any available cipher may be used.
66: */
67: public void setCiphers(String ciphers);
68:
69: /**
70: * Sets a keyAlias if one is being used
71: * @param keyAlias
72: */
73: public void setKeyAlias(String keyAlias);
74:
75: /**
76: * Gets the key alias
77: * @return key alias
78: */
79: public String getKeyAlias();
80: }
|