org.teiid.transport
Class SSLConfiguration

java.lang.Object
  extended by org.teiid.transport.SSLConfiguration

public class SSLConfiguration
extends java.lang.Object


Field Summary
static java.lang.String ANONYMOUS
           
static java.lang.String DISABLED
           
static java.lang.String ENABLED
           
static java.lang.String LOGIN
           
static java.lang.String ONEWAY
           
static java.lang.String TWOWAY
           
 
Constructor Summary
SSLConfiguration()
           
 
Method Summary
 java.lang.String getMode()
           
 javax.net.ssl.SSLEngine getServerSSLEngine()
           
 boolean isClientEncryptionEnabled()
           
 boolean isSslEnabled()
           
 void setAuthenticationMode(java.lang.String value)
           
 void setKeymanagementAlgorithm(java.lang.String value)
           
 void setKeystoreFilename(java.lang.String value)
           
 void setKeystorePassword(java.lang.String value)
           
 void setKeystoreType(java.lang.String value)
           
 void setMode(java.lang.String mode)
           
 void setSslProtocol(java.lang.String value)
           
 void setTruststoreFilename(java.lang.String value)
           
 void setTruststorePassword(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONEWAY

public static final java.lang.String ONEWAY
See Also:
Constant Field Values

TWOWAY

public static final java.lang.String TWOWAY
See Also:
Constant Field Values

ANONYMOUS

public static final java.lang.String ANONYMOUS
See Also:
Constant Field Values

LOGIN

public static final java.lang.String LOGIN
See Also:
Constant Field Values

DISABLED

public static final java.lang.String DISABLED
See Also:
Constant Field Values

ENABLED

public static final java.lang.String ENABLED
See Also:
Constant Field Values
Constructor Detail

SSLConfiguration

public SSLConfiguration()
Method Detail

getServerSSLEngine

public javax.net.ssl.SSLEngine getServerSSLEngine()
                                           throws java.io.IOException,
                                                  java.security.GeneralSecurityException
Throws:
java.io.IOException
java.security.GeneralSecurityException

isClientEncryptionEnabled

public boolean isClientEncryptionEnabled()

isSslEnabled

public boolean isSslEnabled()

getMode

public java.lang.String getMode()

setMode

public void setMode(java.lang.String mode)

setKeystoreFilename

public void setKeystoreFilename(java.lang.String value)

setKeystorePassword

public void setKeystorePassword(java.lang.String value)

setKeystoreType

public void setKeystoreType(java.lang.String value)

setSslProtocol

public void setSslProtocol(java.lang.String value)

setKeymanagementAlgorithm

public void setKeymanagementAlgorithm(java.lang.String value)

setTruststoreFilename

public void setTruststoreFilename(java.lang.String value)

setTruststorePassword

public void setTruststorePassword(java.lang.String value)

setAuthenticationMode

public void setAuthenticationMode(java.lang.String value)


Copyright © 2010. All Rights Reserved.