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 StringADDITIONAL_KEY_STORES_ATTRstatic StringADDITIONAL_KEY_STORES_PROPstatic StringADDITIONAL_TRUST_STORES_ATTRstatic StringADDITIONAL_TRUST_STORES_PROPstatic StringDEFAULT_KEYSTORE_PASSWORDstatic StringDEFAULT_KEYSTORE_TYPEstatic StringKEYSTORE_ATTRStatic constants for initializeSSLContextstatic StringKEYSTORE_PASS_ATTRstatic StringKEYSTORE_PASS_PROPstatic StringKEYSTORE_PROPstatic StringKEYSTORE_TYPE_ATTRstatic StringKEYSTORE_TYPE_PROPprotected jakarta.inject.Provider<SSLImplementation>sslImplementationstatic StringTLS_SESSION_CACHE_SIZE_ATTRstatic StringTLS_SESSION_CACHE_SIZE_PROPstatic StringTLS_SESSION_TIMEOUT_ATTRstatic StringTLS_SESSION_TIMEOUT_PROPstatic StringTRUSTSTORE_ATTRstatic StringTRUSTSTORE_PASS_ATTRstatic StringTRUSTSTORE_PASS_PROPstatic StringTRUSTSTORE_PROPstatic StringTRUSTSTORE_TYPE_ATTRstatic StringTRUSTSTORE_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 SSLContextconfigureSSL()Configures the SSL properties on the given PECoyoteConnector from the SSL config of the given HTTP listener.SSLImplementationgetSslImplementation()Return theSSLImplementationprotected SSLContextinitializeSSLContext()booleanisAllowLazyInit()protected voidlogEmptyWarning(Ssl ssl, String msg)voidsetSNICertAlias(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()
-
-