Package org.glassfish.grizzly.config
Class SSLConfigurator
- java.lang.Object
-
- org.glassfish.grizzly.ssl.SSLEngineConfigurator
-
- org.glassfish.grizzly.config.SSLConfigurator
-
- All Implemented Interfaces:
org.glassfish.grizzly.ssl.SSLEngineFactory
- Direct Known Subclasses:
JMXSslConfigHolder
public class SSLConfigurator extends org.glassfish.grizzly.ssl.SSLEngineConfigurator
- Author:
- oleksiys
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADDITIONAL_KEY_STORES_ATTR
static String
ADDITIONAL_KEY_STORES_PROP
static String
ADDITIONAL_TRUST_STORES_ATTR
static String
ADDITIONAL_TRUST_STORES_PROP
static String
DEFAULT_KEYSTORE_PASSWORD
static String
DEFAULT_KEYSTORE_TYPE
static String
KEYSTORE_ATTR
Static constants for initializeSSLContextstatic String
KEYSTORE_PASS_ATTR
static String
KEYSTORE_PASS_PROP
static String
KEYSTORE_PROP
static String
KEYSTORE_TYPE_ATTR
static String
KEYSTORE_TYPE_PROP
protected jakarta.inject.Provider<SSLImplementation>
sslImplementation
static String
TLS_SESSION_CACHE_SIZE_ATTR
static String
TLS_SESSION_CACHE_SIZE_PROP
static String
TLS_SESSION_TIMEOUT_ATTR
static String
TLS_SESSION_TIMEOUT_PROP
static String
TRUSTSTORE_ATTR
static String
TRUSTSTORE_PASS_ATTR
static String
TRUSTSTORE_PASS_PROP
static String
TRUSTSTORE_PROP
static String
TRUSTSTORE_TYPE_ATTR
static String
TRUSTSTORE_TYPE_PROP
-
Constructor Summary
Constructors Constructor Description SSLConfigurator(org.glassfish.hk2.api.ServiceLocator habitat, Ssl ssl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SSLContext
configureSSL()
Configures the SSL properties on the given PECoyoteConnector from the SSL config of the given HTTP listener.SSLImplementation
getSslImplementation()
Return theSSLImplementation
protected SSLContext
initializeSSLContext()
boolean
isAllowLazyInit()
protected void
logEmptyWarning(Ssl ssl, String msg)
void
setSNICertAlias(String alias)
Set the cert override-
Methods inherited from class org.glassfish.grizzly.ssl.SSLEngineConfigurator
configure, copy, createSSLEngine, createSSLEngine, getEnabledCipherSuites, getEnabledProtocols, getSslContext, isCipherConfigured, isClientMode, isNeedClientAuth, isProtocolConfigured, isWantClientAuth, setCipherConfigured, setClientMode, setEnabledCipherSuites, setEnabledProtocols, setNeedClientAuth, setProtocolConfigured, setWantClientAuth, toString
-
-
-
-
Field Detail
-
sslImplementation
protected final jakarta.inject.Provider<SSLImplementation> sslImplementation
-
KEYSTORE_ATTR
public static final String KEYSTORE_ATTR
Static constants for initializeSSLContext- See Also:
- Constant Field Values
-
KEYSTORE_PROP
public static final String KEYSTORE_PROP
- See Also:
- Constant Field Values
-
KEYSTORE_TYPE_ATTR
public static final String KEYSTORE_TYPE_ATTR
- See Also:
- Constant Field Values
-
KEYSTORE_TYPE_PROP
public static final String KEYSTORE_TYPE_PROP
- See Also:
- Constant Field Values
-
KEYSTORE_PASS_ATTR
public static final String KEYSTORE_PASS_ATTR
- See Also:
- Constant Field Values
-
KEYSTORE_PASS_PROP
public static final String KEYSTORE_PASS_PROP
- See Also:
- Constant Field Values
-
ADDITIONAL_KEY_STORES_ATTR
public static final String ADDITIONAL_KEY_STORES_ATTR
- See Also:
- Constant Field Values
-
ADDITIONAL_KEY_STORES_PROP
public static final String ADDITIONAL_KEY_STORES_PROP
- See Also:
- Constant Field Values
-
TRUSTSTORE_ATTR
public static final String TRUSTSTORE_ATTR
- See Also:
- Constant Field Values
-
TRUSTSTORE_PROP
public static final String TRUSTSTORE_PROP
- See Also:
- Constant Field Values
-
ADDITIONAL_TRUST_STORES_ATTR
public static final String ADDITIONAL_TRUST_STORES_ATTR
- See Also:
- Constant Field Values
-
ADDITIONAL_TRUST_STORES_PROP
public static final String ADDITIONAL_TRUST_STORES_PROP
- See Also:
- Constant Field Values
-
TRUSTSTORE_TYPE_ATTR
public static final String TRUSTSTORE_TYPE_ATTR
- See Also:
- Constant Field Values
-
TRUSTSTORE_TYPE_PROP
public static final String TRUSTSTORE_TYPE_PROP
- See Also:
- Constant Field Values
-
TRUSTSTORE_PASS_ATTR
public static final String TRUSTSTORE_PASS_ATTR
- See Also:
- Constant Field Values
-
TRUSTSTORE_PASS_PROP
public static final String TRUSTSTORE_PASS_PROP
- See Also:
- Constant Field Values
-
TLS_SESSION_TIMEOUT_ATTR
public static final String TLS_SESSION_TIMEOUT_ATTR
- See Also:
- Constant Field Values
-
TLS_SESSION_TIMEOUT_PROP
public static final String TLS_SESSION_TIMEOUT_PROP
- See Also:
- Constant Field Values
-
TLS_SESSION_CACHE_SIZE_ATTR
public static final String TLS_SESSION_CACHE_SIZE_ATTR
- See Also:
- Constant Field Values
-
TLS_SESSION_CACHE_SIZE_PROP
public static final String TLS_SESSION_CACHE_SIZE_PROP
- See Also:
- Constant Field Values
-
DEFAULT_KEYSTORE_TYPE
public static final String DEFAULT_KEYSTORE_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_KEYSTORE_PASSWORD
public static final String DEFAULT_KEYSTORE_PASSWORD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SSLConfigurator
public SSLConfigurator(org.glassfish.hk2.api.ServiceLocator habitat, Ssl ssl)
-
-
Method Detail
-
getSslImplementation
public SSLImplementation getSslImplementation()
Return theSSLImplementation
-
setSNICertAlias
public void setSNICertAlias(String alias)
Set the cert override
-
configureSSL
protected SSLContext configureSSL()
Configures the SSL properties on the given PECoyoteConnector from the SSL config of the given HTTP listener.
-
initializeSSLContext
protected SSLContext initializeSSLContext()
-
isAllowLazyInit
public boolean isAllowLazyInit()
-
-