Package org.teiid.transport
Class SSLConfiguration
- java.lang.Object
-
- org.teiid.transport.SSLConfiguration
-
public class SSLConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SSLConfiguration.ClientAuth
-
Constructor Summary
Constructors Constructor Description SSLConfiguration()
-
Method Summary
-
-
-
Field Detail
-
ONEWAY
public static final String ONEWAY
- See Also:
- Constant Field Values
-
TWOWAY
public static final String TWOWAY
- See Also:
- Constant Field Values
-
ANONYMOUS
@Deprecated public static final String ANONYMOUS
Deprecated.- See Also:
- Constant Field Values
-
LOGIN
public static final String LOGIN
- See Also:
- Constant Field Values
-
DISABLED
public static final String DISABLED
- See Also:
- Constant Field Values
-
ENABLED
public static final String ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getServerSSLEngine
public SSLEngine getServerSSLEngine() throws IOException, GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
-
isClientEncryptionEnabled
public boolean isClientEncryptionEnabled()
-
isSslEnabled
public boolean isSslEnabled()
-
getMode
public String getMode()
-
setMode
public void setMode(String mode)
-
setKeystoreFilename
public void setKeystoreFilename(String value)
-
setKeystorePassword
public void setKeystorePassword(String value)
-
setKeystoreType
public void setKeystoreType(String value)
-
setSslProtocol
public void setSslProtocol(String value)
-
setKeymanagementAlgorithm
public void setKeymanagementAlgorithm(String value)
-
setTruststoreFilename
public void setTruststoreFilename(String value)
-
setTruststorePassword
public void setTruststorePassword(String value)
-
setAuthenticationMode
public void setAuthenticationMode(SSLConfiguration.ClientAuth value)
-
setAuthenticationMode
public void setAuthenticationMode(String value)
-
getAuthenticationMode
public SSLConfiguration.ClientAuth getAuthenticationMode()
-
setEnabledCipherSuites
public void setEnabledCipherSuites(String enabledCipherSuites)
-
getEnabledCipherSuitesAsArray
public String[] getEnabledCipherSuitesAsArray()
-
setKeystoreKeyAlias
public void setKeystoreKeyAlias(String alias)
-
setKeystoreKeyPassword
public void setKeystoreKeyPassword(String keyPassword)
-
isTruststoreCheckExpired
public boolean isTruststoreCheckExpired()
-
setTruststoreCheckExpired
public void setTruststoreCheckExpired(boolean checkExpired)
-
getKeyManagers
public KeyManager[] getKeyManagers() throws IOException, GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
-
getTrustManagers
public TrustManager[] getTrustManagers() throws IOException, GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
-
getTrustAllManagers
public static TrustManager[] getTrustAllManagers()
-
isDisableTrustManager
public boolean isDisableTrustManager()
-
setDisableTrustManager
public void setDisableTrustManager(boolean disableTrustManager)
-
-