クラス org.objectweb.cjdbc.common.net.SSLConfiguration

すべてのメンバ一覧

説明

This class defines a SSLConfiguration

作者:
Marc Wick
バージョン:
1.0

SSLConfiguration.java36 行で定義されています。

Public メソッド

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 メソッド

SSLConfiguration getDefaultConfig ()

Private 変数

File keyStore
String keyStorePassword
String keyStoreKeyPassword
boolean isClientAuthenticationRequired = false
File trustStore
String trustStorePassword


メソッド

SSLConfiguration org.objectweb.cjdbc.common.net.SSLConfiguration.getDefaultConfig  )  [static]
 

create a SSLConfiguration with the java default behaviour (using System properties)

戻り値:
config
SSLConfiguration.java191 行で定義されています。

参照先 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, と org.objectweb.cjdbc.common.net.SSLConfiguration.trustStorePassword.

参照元 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 }

File org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStore  ) 
 

Returns the keyStore value.

戻り値:
Returns the keyStore.
SSLConfiguration.java82 行で定義されています。

参照先 org.objectweb.cjdbc.common.net.SSLConfiguration.keyStore.

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStore().

00083 { 00084 return keyStore; 00085 }

String org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStoreKeyPassword  ) 
 

Returns the keyStoreKeyPassword value.

戻り値:
Returns the keyStoreKeyPassword.
SSLConfiguration.java102 行で定義されています。

参照先 org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStorePassword(), と org.objectweb.cjdbc.common.net.SSLConfiguration.keyStoreKeyPassword.

00103 { 00104 if (keyStoreKeyPassword != null) 00105 return keyStoreKeyPassword; 00106 return getKeyStorePassword(); 00107 }

String org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStorePassword  ) 
 

Returns the keyStorePassword value.

戻り値:
Returns the keyStorePassword.
SSLConfiguration.java124 行で定義されています。

参照先 org.objectweb.cjdbc.common.net.SSLConfiguration.keyStorePassword.

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStoreKeyPassword(), と org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStorePassword().

00125 { 00126 return keyStorePassword; 00127 }

File org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStore  ) 
 

Returns the trustStore value.

戻り値:
Returns the trustStore.
SSLConfiguration.java144 行で定義されています。

参照先 org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStore(), と org.objectweb.cjdbc.common.net.SSLConfiguration.trustStore.

00145 { 00146 if (trustStore != null) 00147 return trustStore; 00148 00149 return getKeyStore(); 00150 }

String org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStorePassword  ) 
 

Returns the trustStorePassword value.

戻り値:
Returns the trustStorePassword.
SSLConfiguration.java167 行で定義されています。

参照先 org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStorePassword(), と org.objectweb.cjdbc.common.net.SSLConfiguration.trustStorePassword.

00168 { 00169 if (trustStorePassword != null) 00170 return trustStorePassword; 00171 00172 return getKeyStorePassword(); 00173 }

boolean org.objectweb.cjdbc.common.net.SSLConfiguration.isClientAuthenticationRequired  ) 
 

Returns the isClientAuthenticationRequired value.

戻り値:
Returns the isClientAuthenticationRequired.
SSLConfiguration.java60 行で定義されています。

参照先 org.objectweb.cjdbc.common.net.SSLConfiguration.isClientAuthenticationRequired.

00061 { 00062 return isClientAuthenticationRequired; 00063 }

void org.objectweb.cjdbc.common.net.SSLConfiguration.setClientAuthenticationRequired boolean  isClientAuthenticationRequired  ) 
 

Sets the isClientAuthenticationRequired value.

引数:
isClientAuthenticationRequired The isClientAuthenticationRequired to set.
SSLConfiguration.java71 行で定義されています。
00073 { 00074 this.isClientAuthenticationRequired = isClientAuthenticationRequired; 00075 }

void org.objectweb.cjdbc.common.net.SSLConfiguration.setKeyStore File  keyStore  ) 
 

Sets the keyStore value.

引数:
keyStore The keyStore to set.
SSLConfiguration.java92 行で定義されています。
00093 { 00094 this.keyStore = keyStore; 00095 }

void org.objectweb.cjdbc.common.net.SSLConfiguration.setKeyStoreKeyPassword String  keyStoreKeyPassword  ) 
 

Sets the keyStoreKeyPassword value.

引数:
keyStoreKeyPassword The keyStoreKeyPassword to set.
SSLConfiguration.java114 行で定義されています。
00115 { 00116 this.keyStoreKeyPassword = keyStoreKeyPassword; 00117 }

void org.objectweb.cjdbc.common.net.SSLConfiguration.setKeyStorePassword String  keyStorePassword  ) 
 

Sets the keyStorePassword value.

引数:
keyStorePassword The keyStorePassword to set.
SSLConfiguration.java134 行で定義されています。
00135 { 00136 this.keyStorePassword = keyStorePassword; 00137 }

void org.objectweb.cjdbc.common.net.SSLConfiguration.setTrustStore File  trustStore  ) 
 

Sets the trustStore value.

引数:
trustStore The trustStore to set.
SSLConfiguration.java157 行で定義されています。
00158 { 00159 this.trustStore = trustStore; 00160 }

void org.objectweb.cjdbc.common.net.SSLConfiguration.setTrustStorePassword String  trustStorePassword  ) 
 

Sets the trustStorePassword value.

引数:
trustStorePassword The trustStorePassword to set.
SSLConfiguration.java180 行で定義されています。
00181 { 00182 this.trustStorePassword = trustStorePassword; 00183 }


変数

boolean org.objectweb.cjdbc.common.net.SSLConfiguration.isClientAuthenticationRequired = false [private]
 

need client authentication SSLConfiguration.java48 行で定義されています。

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.isClientAuthenticationRequired().

File org.objectweb.cjdbc.common.net.SSLConfiguration.keyStore [private]
 

kestore file SSLConfiguration.java39 行で定義されています。

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.getDefaultConfig(), と org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStore().

String org.objectweb.cjdbc.common.net.SSLConfiguration.keyStoreKeyPassword [private]
 

key password SSLConfiguration.java43 行で定義されています。

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.getDefaultConfig(), と org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStoreKeyPassword().

String org.objectweb.cjdbc.common.net.SSLConfiguration.keyStorePassword [private]
 

keystore password SSLConfiguration.java41 行で定義されています。

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.getDefaultConfig(), と org.objectweb.cjdbc.common.net.SSLConfiguration.getKeyStorePassword().

File org.objectweb.cjdbc.common.net.SSLConfiguration.trustStore [private]
 

truststore file SSLConfiguration.java51 行で定義されています。

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.getDefaultConfig(), と org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStore().

String org.objectweb.cjdbc.common.net.SSLConfiguration.trustStorePassword [private]
 

truststore password SSLConfiguration.java53 行で定義されています。

参照元 org.objectweb.cjdbc.common.net.SSLConfiguration.getDefaultConfig(), と org.objectweb.cjdbc.common.net.SSLConfiguration.getTrustStorePassword().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:16 2004に生成されました。 doxygen 1.3.8