|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.common.net.SSLConfiguration
This class defines a SSLConfiguration
| Field Summary | |
private boolean |
isClientAuthenticationRequired
need client authentication |
private java.io.File |
keyStore
kestore file |
private java.lang.String |
keyStoreKeyPassword
key password |
private java.lang.String |
keyStorePassword
keystore password |
private java.io.File |
trustStore
truststore file |
private java.lang.String |
trustStorePassword
truststore password |
| Constructor Summary | |
SSLConfiguration()
|
|
| Method Summary | |
static SSLConfiguration |
getDefaultConfig()
create a SSLConfiguration with the java default behaviour (using System properties) |
java.io.File |
getKeyStore()
Returns the keyStore value. |
java.lang.String |
getKeyStoreKeyPassword()
Returns the keyStoreKeyPassword value. |
java.lang.String |
getKeyStorePassword()
Returns the keyStorePassword value. |
java.io.File |
getTrustStore()
Returns the trustStore value. |
java.lang.String |
getTrustStorePassword()
Returns the trustStorePassword value. |
boolean |
isClientAuthenticationRequired()
Returns the isClientAuthenticationRequired value. |
void |
setClientAuthenticationRequired(boolean isClientAuthenticationRequired)
Sets the isClientAuthenticationRequired value. |
void |
setKeyStore(java.io.File keyStore)
Sets the keyStore value. |
void |
setKeyStoreKeyPassword(java.lang.String keyStoreKeyPassword)
Sets the keyStoreKeyPassword value. |
void |
setKeyStorePassword(java.lang.String keyStorePassword)
Sets the keyStorePassword value. |
void |
setTrustStore(java.io.File trustStore)
Sets the trustStore value. |
void |
setTrustStorePassword(java.lang.String trustStorePassword)
Sets the trustStorePassword value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.io.File keyStore
private java.lang.String keyStorePassword
private java.lang.String keyStoreKeyPassword
private boolean isClientAuthenticationRequired
private java.io.File trustStore
private java.lang.String trustStorePassword
| Constructor Detail |
public SSLConfiguration()
| Method Detail |
public boolean isClientAuthenticationRequired()
public void setClientAuthenticationRequired(boolean isClientAuthenticationRequired)
isClientAuthenticationRequired - The isClientAuthenticationRequired to
set.public java.io.File getKeyStore()
public void setKeyStore(java.io.File keyStore)
keyStore - The keyStore to set.public java.lang.String getKeyStoreKeyPassword()
public void setKeyStoreKeyPassword(java.lang.String keyStoreKeyPassword)
keyStoreKeyPassword - The keyStoreKeyPassword to set.public java.lang.String getKeyStorePassword()
public void setKeyStorePassword(java.lang.String keyStorePassword)
keyStorePassword - The keyStorePassword to set.public java.io.File getTrustStore()
public void setTrustStore(java.io.File trustStore)
trustStore - The trustStore to set.public java.lang.String getTrustStorePassword()
public void setTrustStorePassword(java.lang.String trustStorePassword)
trustStorePassword - The trustStorePassword to set.public static SSLConfiguration getDefaultConfig()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||