com.sun.grizzly.config.dom
Interface Ssl

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

public interface Ssl
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

Define SSL processing parameters


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Field Summary
static boolean ALLOW_LAZY_INIT
           
static boolean CLIENT_AUTH_ENABLED
           
static String CLIENT_AUTH_PATTERN
           
static int DEFAULT_SSL_INACTIVITY_TIMEOUT
           
static int MAX_CERT_LENGTH
           
static String PASSWORD_PROVIDER
           
static String SSL2_CIPHERS_PATTERN
           
static boolean SSL2_ENABLED
           
static boolean SSL3_ENABLED
           
static String STORE_TYPE_PATTERN
           
static boolean TLS_ENABLED
           
static boolean TLS_ROLLBACK_ENABLED
           
static boolean TLS11_ENABLED
           
static boolean TLS12_ENABLED
           
 
Method Summary
 String getAllowLazyInit()
          Does SSL configuration allow implementation to initialize it lazily way
 String getCertNickname()
          Nickname of the server certificate in the certificate database or the PKCS#11 token.
 String getClassname()
           
 String getClientAuth()
          Determines if if the engine will request (want) or require (need) client authentication.
 String getClientAuthEnabled()
          Determines whether SSL3 client authentication is performed on every request, independent of ACL-based access control.
 String getCrlFile()
           
 String getKeyAlgorithm()
           
 String getKeyStore()
          Location of the keystore file
 String getKeyStorePassword()
          password of the keystore file
 String getKeyStorePasswordProvider()
           
 String getKeyStoreType()
          type of the keystore file
 String getSsl2Ciphers()
          A comma-separated list of the SSL2 ciphers used, with the prefix + to enable or - to disable, for example +rc4.
 String getSsl2Enabled()
          Determines whether SSL2 is enabled.
 String getSsl3Enabled()
          Determines whether SSL3 is enabled.
 String getSsl3TlsCiphers()
          A comma-separated list of the SSL3 ciphers used, with the prefix + to enable or - to disable, for example +SSL_RSA_WITH_RC4_128_MD5.
 String getSSLInactivityTimeout()
           
 String getTls11Enabled()
          Determines whether TLS 1.1 is enabled.
 String getTls12Enabled()
          Determines whether TLS 1.2 is enabled.
 String getTlsEnabled()
          Determines whether TLS is enabled.
 String getTlsRollbackEnabled()
          Determines whether TLS rollback is enabled.
 String getTrustAlgorithm()
           
 String getTrustMaxCertLength()
           
 String getTrustStore()
           
 String getTrustStorePassword()
          password of the truststore file
 String getTrustStorePasswordProvider()
           
 String getTrustStoreType()
          type of the truststore file
 void setAllowLazyInit(String value)
           
 void setCertNickname(String value)
           
 void setClassname(String value)
           
 void setClientAuth(String value)
           
 void setClientAuthEnabled(String value)
           
 void setCrlFile(String crlFile)
           
 void setKeyAlgorithm(String algorithm)
           
 void setKeyStore(String location)
           
 void setKeyStorePassword(String password)
           
 void setKeyStorePasswordProvider(String provider)
           
 void setKeyStoreType(String type)
           
 void setSsl2Ciphers(String value)
           
 void setSsl2Enabled(String value)
           
 void setSsl3Enabled(String value)
           
 void setSsl3TlsCiphers(String value)
           
 void setSSLInactivityTimeout(int handshakeTimeout)
           
 void setTls11Enabled(String value)
           
 void setTls12Enabled(String value)
           
 void setTlsEnabled(String value)
           
 void setTlsRollbackEnabled(String value)
           
 void setTrustAlgorithm(String algorithm)
           
 void setTrustMaxCertLength(String maxLength)
           
 void setTrustStore(String location)
           
 void setTrustStorePassword(String password)
           
 void setTrustStorePasswordProvider(String provider)
           
 void setTrustStoreType(String type)
           
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getProperty, getPropertyValue, getPropertyValue
 

Field Detail

ALLOW_LAZY_INIT

static final boolean ALLOW_LAZY_INIT
See Also:
Constant Field Values

CLIENT_AUTH_ENABLED

static final boolean CLIENT_AUTH_ENABLED
See Also:
Constant Field Values

SSL2_ENABLED

static final boolean SSL2_ENABLED
See Also:
Constant Field Values

SSL3_ENABLED

static final boolean SSL3_ENABLED
See Also:
Constant Field Values

TLS_ENABLED

static final boolean TLS_ENABLED
See Also:
Constant Field Values

TLS11_ENABLED

static final boolean TLS11_ENABLED
See Also:
Constant Field Values

TLS12_ENABLED

static final boolean TLS12_ENABLED
See Also:
Constant Field Values

TLS_ROLLBACK_ENABLED

static final boolean TLS_ROLLBACK_ENABLED
See Also:
Constant Field Values

MAX_CERT_LENGTH

static final int MAX_CERT_LENGTH
See Also:
Constant Field Values

DEFAULT_SSL_INACTIVITY_TIMEOUT

static final int DEFAULT_SSL_INACTIVITY_TIMEOUT
See Also:
Constant Field Values

CLIENT_AUTH_PATTERN

static final String CLIENT_AUTH_PATTERN
See Also:
Constant Field Values

STORE_TYPE_PATTERN

static final String STORE_TYPE_PATTERN
See Also:
Constant Field Values

PASSWORD_PROVIDER

static final String PASSWORD_PROVIDER
See Also:
Constant Field Values

SSL2_CIPHERS_PATTERN

static final String SSL2_CIPHERS_PATTERN
See Also:
Constant Field Values
Method Detail

getCertNickname

String getCertNickname()
Nickname of the server certificate in the certificate database or the PKCS#11 token. In the certificate, the name format is tokenname:nickname. Including the tokenname: part of the name in this attribute is optional.


setCertNickname

void setCertNickname(String value)

getClientAuthEnabled

String getClientAuthEnabled()
Determines whether SSL3 client authentication is performed on every request, independent of ACL-based access control.


setClientAuthEnabled

void setClientAuthEnabled(String value)

getClientAuth

@Pattern(regexp="(|need|want)")
String getClientAuth()
Determines if if the engine will request (want) or require (need) client authentication. Valid values: want, need, or left blank


setClientAuth

void setClientAuth(String value)

getCrlFile

String getCrlFile()

setCrlFile

void setCrlFile(String crlFile)

getKeyAlgorithm

String getKeyAlgorithm()

setKeyAlgorithm

void setKeyAlgorithm(String algorithm)

getKeyStoreType

@Pattern(regexp="(JKS|NSS)")
String getKeyStoreType()
type of the keystore file


setKeyStoreType

void setKeyStoreType(String type)

getKeyStorePasswordProvider

String getKeyStorePasswordProvider()

setKeyStorePasswordProvider

void setKeyStorePasswordProvider(String provider)

getKeyStorePassword

String getKeyStorePassword()
password of the keystore file


setKeyStorePassword

void setKeyStorePassword(String password)

getKeyStore

String getKeyStore()
Location of the keystore file


setKeyStore

void setKeyStore(String location)

getClassname

String getClassname()

setClassname

void setClassname(String value)

getSsl2Ciphers

@Pattern(regexp="((\\+|\\-)(rc2|rc2export|rc4|rc4export|idea|des|desede3)(\\s*,\\s*(\\+|\\-)(rc2|rc2export|rc4|rc4export|idea|des|desede3))*)*")
String getSsl2Ciphers()
A comma-separated list of the SSL2 ciphers used, with the prefix + to enable or - to disable, for example +rc4. Allowed values are rc4, rc4export, rc2, rc2export, idea, des, desede3. If no value is specified, all supported ciphers are assumed to be enabled. NOT Used in PE


setSsl2Ciphers

void setSsl2Ciphers(String value)

getSsl2Enabled

String getSsl2Enabled()
Determines whether SSL2 is enabled. NOT Used in PE. SSL2 is not supported by either iiop or web-services. When this element is used as a child of the iiop-listener element then the only allowed value for this attribute is "false".


setSsl2Enabled

void setSsl2Enabled(String value)

getSsl3Enabled

String getSsl3Enabled()
Determines whether SSL3 is enabled. If both SSL2 and SSL3 are enabled for a virtual server, the server tries SSL3 encryption first. If that fails, the server tries SSL2 encryption.


setSsl3Enabled

void setSsl3Enabled(String value)

getSsl3TlsCiphers

String getSsl3TlsCiphers()
A comma-separated list of the SSL3 ciphers used, with the prefix + to enable or - to disable, for example +SSL_RSA_WITH_RC4_128_MD5. Allowed SSL3/TLS values are those that are supported by the JVM for the given security provider and security service configuration. If no value is specified, all supported ciphers are assumed to be enabled.


setSsl3TlsCiphers

void setSsl3TlsCiphers(String value)

getTlsEnabled

String getTlsEnabled()
Determines whether TLS is enabled.


setTlsEnabled

void setTlsEnabled(String value)

getTls11Enabled

String getTls11Enabled()
Determines whether TLS 1.1 is enabled.


setTls11Enabled

void setTls11Enabled(String value)

getTls12Enabled

String getTls12Enabled()
Determines whether TLS 1.2 is enabled.


setTls12Enabled

void setTls12Enabled(String value)

getTlsRollbackEnabled

String getTlsRollbackEnabled()
Determines whether TLS rollback is enabled. TLS rollback should be enabled for Microsoft Internet Explorer 5.0 and 5.5. NOT Used in PE


setTlsRollbackEnabled

void setTlsRollbackEnabled(String value)

getTrustAlgorithm

String getTrustAlgorithm()

setTrustAlgorithm

void setTrustAlgorithm(String algorithm)

getTrustMaxCertLength

String getTrustMaxCertLength()

setTrustMaxCertLength

void setTrustMaxCertLength(String maxLength)

getTrustStore

String getTrustStore()

setTrustStore

void setTrustStore(String location)

getTrustStoreType

@Pattern(regexp="(JKS|NSS)")
String getTrustStoreType()
type of the truststore file


setTrustStoreType

void setTrustStoreType(String type)

getTrustStorePasswordProvider

String getTrustStorePasswordProvider()

setTrustStorePasswordProvider

void setTrustStorePasswordProvider(String provider)

getTrustStorePassword

String getTrustStorePassword()
password of the truststore file


setTrustStorePassword

void setTrustStorePassword(String password)

getAllowLazyInit

String getAllowLazyInit()
Does SSL configuration allow implementation to initialize it lazily way


setAllowLazyInit

void setAllowLazyInit(String value)

getSSLInactivityTimeout

String getSSLInactivityTimeout()
Returns:
the timeout within which there must be activity from the client. Defaults to 30 seconds.

setSSLInactivityTimeout

void setSSLInactivityTimeout(int handshakeTimeout)


Copyright © 2013 Oracle Corporation. All Rights Reserved.