Package org.apache.catalina.core
Class OpenSSLLifecycleListener
java.lang.Object
org.apache.catalina.core.OpenSSLLifecycleListener
- All Implemented Interfaces:
LifecycleListener
Implementation of
LifecycleListener that will do the global initialization of OpenSSL according to
specified configuration parameters. Using the listener is completely optional, but is needed for configuration and
full cleanup of a few native memory allocations.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Objectprotected static final StringManagerThe string manager for this package. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanbooleanvoidlifecycleEvent(LifecycleEvent event) Primary entry point for startup and shutdown events.voidsetFIPSMode(String FIPSMode) voidsetSSLEngine(String SSLEngine) voidsetSSLRandomSeed(String SSLRandomSeed) voidsetUseOpenSSL(boolean useOpenSSL)
-
Field Details
-
sm
The string manager for this package. -
lock
-
-
Constructor Details
-
OpenSSLLifecycleListener
public OpenSSLLifecycleListener()
-
-
Method Details
-
isAvailable
public static boolean isAvailable() -
lifecycleEvent
Primary entry point for startup and shutdown events.- Specified by:
lifecycleEventin interfaceLifecycleListener- Parameters:
event- The event that has occurred
-
getSSLEngine
-
setSSLEngine
-
getSSLRandomSeed
-
setSSLRandomSeed
-
getFIPSMode
-
setFIPSMode
-
isFIPSModeActive
public boolean isFIPSModeActive() -
setUseOpenSSL
public void setUseOpenSSL(boolean useOpenSSL) -
getUseOpenSSL
public static boolean getUseOpenSSL()
-