Class OpenSSLLifecycleListener

java.lang.Object
org.apache.catalina.core.OpenSSLLifecycleListener
All Implemented Interfaces:
LifecycleListener

public class OpenSSLLifecycleListener extends Object implements 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 Details

    • sm

      protected static final StringManager sm
      The string manager for this package.
    • lock

      protected static final Object lock
  • Constructor Details

    • OpenSSLLifecycleListener

      public OpenSSLLifecycleListener()
  • Method Details

    • isAvailable

      public static boolean isAvailable()
    • lifecycleEvent

      public void lifecycleEvent(LifecycleEvent event)
      Primary entry point for startup and shutdown events.
      Specified by:
      lifecycleEvent in interface LifecycleListener
      Parameters:
      event - The event that has occurred
    • getSSLEngine

      public String getSSLEngine()
    • setSSLEngine

      public void setSSLEngine(String SSLEngine)
    • getSSLRandomSeed

      public String getSSLRandomSeed()
    • setSSLRandomSeed

      public void setSSLRandomSeed(String SSLRandomSeed)
    • getFIPSMode

      public String getFIPSMode()
    • setFIPSMode

      public void setFIPSMode(String FIPSMode)
    • isFIPSModeActive

      public boolean isFIPSModeActive()
    • setUseOpenSSL

      public void setUseOpenSSL(boolean useOpenSSL)
    • getUseOpenSSL

      public static boolean getUseOpenSSL()