Public Member Functions | |
boolean | isClientAuthenticationRequired () |
void | setClientAuthenticationRequired (boolean isClientAuthenticationRequired) |
File | getKeyStore () |
void | setKeyStore (File keyStore) |
String | getKeyStoreKeyPassword () |
void | setKeyStoreKeyPassword (String keyStoreKeyPassword) |
String | getKeyStorePassword () |
void | setKeyStorePassword (String keyStorePassword) |
File | getTrustStore () |
void | setTrustStore (File trustStore) |
String | getTrustStorePassword () |
void | setTrustStorePassword (String trustStorePassword) |
Static Public Member Functions | |
SSLConfiguration | getDefaultConfig () |
Definition at line 36 of file SSLConfiguration.java.
|
create a SSLConfiguration with the java default behaviour (using System properties)
Definition at line 191 of file SSLConfiguration.java. References org.objectweb.cjdbc.common.net.SSLConfiguration.keyStore, org.objectweb.cjdbc.common.net.SSLConfiguration.keyStoreKeyPassword, org.objectweb.cjdbc.common.net.SSLConfiguration.keyStorePassword, org.objectweb.cjdbc.common.net.SSLConfiguration.trustStore, and org.objectweb.cjdbc.common.net.SSLConfiguration.trustStorePassword. Referenced by org.objectweb.cjdbc.driver.Driver.connect(). 00192 { 00193 SSLConfiguration config = new SSLConfiguration(); 00194 config.keyStore = new File(System.getProperty("javax.net.ssl.keyStore")); 00195 config.keyStorePassword = System 00196 .getProperty("javax.net.ssl.keyStorePassword"); 00197 config.keyStoreKeyPassword = System 00198 .getProperty("javax.net.ssl.keyStorePassword"); 00199 config.trustStore = new File(System.getProperty("javax.net.ssl.trustStore")); 00200 config.trustStorePassword = System 00201 .getProperty("javax.net.ssl.trustStorePassword"); 00202 return config; 00203 }
|
|
Returns the keyStore value.
Definition at line 82 of file SSLConfiguration.java. Referenced by org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStore(). 00083 {
00084 return keyStore;
00085 }
|
|
Returns the keyStoreKeyPassword value.
Definition at line 102 of file SSLConfiguration.java. References org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStorePassword(). 00103 { 00104 if (keyStoreKeyPassword != null) 00105 return keyStoreKeyPassword; 00106 return getKeyStorePassword(); 00107 }
|
|
Returns the keyStorePassword value.
Definition at line 124 of file SSLConfiguration.java. Referenced by org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStoreKeyPassword(), and org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStorePassword(). 00125 {
00126 return keyStorePassword;
00127 }
|
|
Returns the trustStore value.
Definition at line 144 of file SSLConfiguration.java. References org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStore(). 00145 { 00146 if (trustStore != null) 00147 return trustStore; 00148 00149 return getKeyStore(); 00150 }
|
|
Returns the trustStorePassword value.
Definition at line 167 of file SSLConfiguration.java. References org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStorePassword(). 00168 { 00169 if (trustStorePassword != null) 00170 return trustStorePassword; 00171 00172 return getKeyStorePassword(); 00173 }
|
|
Returns the isClientAuthenticationRequired value.
Definition at line 60 of file SSLConfiguration.java. 00061 {
00062 return isClientAuthenticationRequired;
00063 }
|
|
Sets the isClientAuthenticationRequired value.
Definition at line 71 of file SSLConfiguration.java. 00073 {
00074 this.isClientAuthenticationRequired = isClientAuthenticationRequired;
00075 }
|
|
Sets the keyStore value.
Definition at line 92 of file SSLConfiguration.java. 00093 {
00094 this.keyStore = keyStore;
00095 }
|
|
Sets the keyStoreKeyPassword value.
Definition at line 114 of file SSLConfiguration.java. 00115 {
00116 this.keyStoreKeyPassword = keyStoreKeyPassword;
00117 }
|
|
Sets the keyStorePassword value.
Definition at line 134 of file SSLConfiguration.java. 00135 {
00136 this.keyStorePassword = keyStorePassword;
00137 }
|
|
Sets the trustStore value.
Definition at line 157 of file SSLConfiguration.java. 00158 {
00159 this.trustStore = trustStore;
00160 }
|
|
Sets the trustStorePassword value.
Definition at line 180 of file SSLConfiguration.java. 00181 {
00182 this.trustStorePassword = trustStorePassword;
00183 }
|