|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.ssl.KeyStoreCredentialConfig
public class KeyStoreCredentialConfig
Provides the properties necessary for creating an SSL context initializer with a keystore credential reader.
| Constructor Summary | |
|---|---|
KeyStoreCredentialConfig()
|
|
| Method Summary | |
|---|---|
SSLContextInitializer |
createSSLContextInitializer()
Creates an SSL context initializer using the configured trust and authentication material in this config. |
boolean |
equals(Object o)
|
String |
getKeyStore()
Returns the name of the keystore to use. |
String[] |
getKeyStoreAliases()
Returns the aliases of the keystore to use. |
String |
getKeyStorePassword()
Returns the password for the keystore. |
String |
getKeyStoreType()
Returns the type of the keystore. |
String |
getTrustStore()
Returns the name of the truststore to use. |
String[] |
getTrustStoreAliases()
Returns the aliases of the truststore to use. |
String |
getTrustStorePassword()
Returns the password for the truststore. |
String |
getTrustStoreType()
Returns the type of the truststore. |
int |
hashCode()
|
void |
setKeyStore(String name)
Sets the name of the keystore to use. |
void |
setKeyStoreAliases(String... aliases)
Sets the aliases of the keystore to use. |
void |
setKeyStorePassword(String password)
Sets the password for the keystore. |
void |
setKeyStoreType(String type)
Sets the type of the keystore. |
void |
setTrustStore(String name)
Sets the name of the truststore to use. |
void |
setTrustStoreAliases(String... aliases)
Sets the aliases of the truststore to use. |
void |
setTrustStorePassword(String password)
Sets the password for the truststore. |
void |
setTrustStoreType(String type)
Sets the type of the truststore. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyStoreCredentialConfig()
| Method Detail |
|---|
public String getTrustStore()
public void setTrustStore(String name)
name - truststore namepublic String getTrustStorePassword()
public void setTrustStorePassword(String password)
password - truststore passwordpublic String getTrustStoreType()
public void setTrustStoreType(String type)
type - truststore typepublic String[] getTrustStoreAliases()
public void setTrustStoreAliases(String... aliases)
aliases - truststore aliasespublic String getKeyStore()
public void setKeyStore(String name)
name - keystore namepublic String getKeyStorePassword()
public void setKeyStorePassword(String password)
password - keystore passwordpublic String getKeyStoreType()
public void setKeyStoreType(String type)
type - keystore typepublic String[] getKeyStoreAliases()
public void setKeyStoreAliases(String... aliases)
aliases - keystore aliases
public SSLContextInitializer createSSLContextInitializer()
throws GeneralSecurityException
createSSLContextInitializer in interface CredentialConfigGeneralSecurityException - if the ssl context initializer cannot be
createdpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||