View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2009 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
10   *  See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  package com.eviware.soapui.settings;
14  
15  import com.eviware.soapui.settings.Setting.SettingType;
16  
17  /***
18   * SSL-Proxy settings constants
19   * 
20   * @author Ole.Matzura
21   */
22  
23  public interface SSLSettings
24  {
25  	@Setting( name = "KeyStore", description = "local keyStore to use", type = SettingType.FILE )
26  	public final static String KEYSTORE = SSLSettings.class.getSimpleName() + "@" + "keyStore";
27  
28  	@Setting( name = "KeyStore Password", description = "keyStore password", type = SettingType.PASSWORD )
29  	public final static String KEYSTORE_PASSWORD = SSLSettings.class.getSimpleName() + "@" + "keyStorePassword";
30  
31  	@Setting( name = "Enable Mock SSL", description = "enable SSL for Mock Services", type = SettingType.BOOLEAN )
32  	public final static String ENABLE_MOCK_SSL = SSLSettings.class.getSimpleName() + "@" + "enableMockSSL";
33  
34  	@Setting( name = "Mock Port", description = "local port to use for SSL mock services", type = SettingType.INT )
35  	public final static String MOCK_PORT = SSLSettings.class.getSimpleName() + "@" + "mockPort";
36  
37  	@Setting( name = "Mock KeyStore", description = "local keyStore to use for mock services", type = SettingType.FILE )
38  	public final static String MOCK_KEYSTORE = SSLSettings.class.getSimpleName() + "@" + "mockKeyStore";
39  
40  	@Setting( name = "Mock Password", description = "password for mock services", type = SettingType.PASSWORD )
41  	public final static String MOCK_PASSWORD = SSLSettings.class.getSimpleName() + "@" + "mockPassword";
42  
43  	@Setting( name = "Mock Key Password", description = "password for mock keyStore", type = SettingType.PASSWORD )
44  	public final static String MOCK_KEYSTORE_PASSWORD = SSLSettings.class.getSimpleName() + "@" + "mockKeyStorePassword";
45  
46  	@Setting( name = "Mock TrustStore", description = "mock trustStore to use", type = SettingType.FILE )
47  	public final static String MOCK_TRUSTSTORE = SSLSettings.class.getSimpleName() + "@" + "mockTrustStore";
48  
49  	@Setting( name = "Mock TrustStore Password", description = "mock trustStore password", type = SettingType.PASSWORD )
50  	public final static String MOCK_TRUSTSTORE_PASSWORD = SSLSettings.class.getSimpleName() + "@"
51  			+ "mockTrustStorePassword";
52  
53  	@Setting( name = "Client Authentication", description = "requires client authentication", type = SettingType.BOOLEAN )
54  	public final static String CLIENT_AUTHENTICATION = SSLSettings.class.getSimpleName() + "@"
55  			+ "needClientAuthentication";
56  }