|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.ssl.KeyStoreCredentialConfig
public class KeyStoreCredentialConfig
Provides the properties necessary for creating an SSL context initializer
with a KeyStoreCredentialReader.
| Field Summary | |
|---|---|
protected KeyStoreCredentialReader |
keyStoreReader
Handles loading keystores. |
| Constructor Summary | |
|---|---|
KeyStoreCredentialConfig()
|
|
| Method Summary | |
|---|---|
SSLContextInitializer |
createSSLContextInitializer()
Creates an SSLContextInitializer using the configured trust
and authentication material in this config. |
String |
getKeyStore()
This returns the name of the keystore to use. |
String |
getKeyStorePassword()
This returns the password for the keystore. |
String |
getKeyStoreType()
This returns the type of the keystore. |
String |
getTrustStore()
This returns the name of the truststore to use. |
String |
getTrustStorePassword()
This returns the password for the truststore. |
String |
getTrustStoreType()
This returns the type of the truststore. |
void |
setKeyStore(String s)
This sets the name of the keystore to use. |
void |
setKeyStorePassword(String s)
This sets the password for the keystore. |
void |
setKeyStoreType(String s)
This sets the type of the keystore. |
void |
setTrustStore(String s)
This sets the name of the truststore to use. |
void |
setTrustStorePassword(String s)
This sets the password for the truststore. |
void |
setTrustStoreType(String s)
This sets the type of the truststore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected KeyStoreCredentialReader keyStoreReader
| Constructor Detail |
|---|
public KeyStoreCredentialConfig()
| Method Detail |
|---|
public String getTrustStore()
String truststore namepublic void setTrustStore(String s)
s - String truststore namepublic String getTrustStorePassword()
String truststore passwordpublic void setTrustStorePassword(String s)
s - String truststore passwordpublic String getTrustStoreType()
String truststore typepublic void setTrustStoreType(String s)
s - String truststore typepublic String getKeyStore()
String keystore namepublic void setKeyStore(String s)
s - String keystore namepublic String getKeyStorePassword()
String keystore passwordpublic void setKeyStorePassword(String s)
s - String keystore passwordpublic String getKeyStoreType()
String keystore typepublic void setKeyStoreType(String s)
s - String keystore type
public SSLContextInitializer createSSLContextInitializer()
throws GeneralSecurityException
SSLContextInitializer using the configured trust
and authentication material in this config.
createSSLContextInitializer in interface CredentialConfigSSLContextInitializer
GeneralSecurityException - if the ssl context initializer cannot be
created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||