Interface EncryptInterceptorMBean

All Known Implementing Classes:
EncryptInterceptor

@Deprecated public interface EncryptInterceptorMBean
Deprecated.
Configure the cluster to use TLS instead. This interceptor will be removed in Tomcat 12.
MBean interface for managing the EncryptInterceptor configuration and status.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns the encryption algorithm currently in use.
    byte[]
    Deprecated.
    Returns the encryption key as raw bytes.
    int
    Deprecated.
    Returns the option flag for the encryption interceptor.
    Deprecated.
    Returns the JCA provider name for cryptographic operations.
    int
    Deprecated.
    Returns the maximum number of replay cache entries.
    long
    Deprecated.
    Returns the time-based replay window in milliseconds.
    void
    Deprecated.
    Sets the encryption algorithm to use.
    void
    setEncryptionKey(byte[] key)
    Deprecated.
    Sets the encryption key as raw bytes.
    void
    setOptionFlag(int optionFlag)
    Deprecated.
    Sets the option flag for the encryption interceptor.
    void
    Deprecated.
    Sets the JCA provider name for cryptographic operations.
    void
    setReplayWindowMessageCount(int replayWindowMessageCount)
    Deprecated.
    Sets the maximum number of replay cache entries.
    void
    setReplayWindowTime(long replayWindowTime)
    Deprecated.
    Sets the time-based replay window in milliseconds.
  • Method Details

    • getOptionFlag

      int getOptionFlag()
      Deprecated.
      Returns the option flag for the encryption interceptor.
      Returns:
      the option flag value
    • setOptionFlag

      void setOptionFlag(int optionFlag)
      Deprecated.
      Sets the option flag for the encryption interceptor.
      Parameters:
      optionFlag - the option flag value
    • setEncryptionAlgorithm

      void setEncryptionAlgorithm(String algorithm)
      Deprecated.
      Sets the encryption algorithm to use.
      Parameters:
      algorithm - the encryption algorithm in algorithm/mode/padding format
    • getEncryptionAlgorithm

      String getEncryptionAlgorithm()
      Deprecated.
      Returns the encryption algorithm currently in use.
      Returns:
      the encryption algorithm string
    • setEncryptionKey

      void setEncryptionKey(byte[] key)
      Deprecated.
      Sets the encryption key as raw bytes.
      Parameters:
      key - the encryption key bytes
    • getEncryptionKey

      byte[] getEncryptionKey()
      Deprecated.
      Returns the encryption key as raw bytes.
      Returns:
      the encryption key bytes
    • setProviderName

      void setProviderName(String provider)
      Deprecated.
      Sets the JCA provider name for cryptographic operations.
      Parameters:
      provider - the JCA provider name
    • getProviderName

      String getProviderName()
      Deprecated.
      Returns the JCA provider name for cryptographic operations.
      Returns:
      the JCA provider name, or null for default
    • setReplayWindowTime

      void setReplayWindowTime(long replayWindowTime)
      Deprecated.
      Sets the time-based replay window in milliseconds.
      Parameters:
      replayWindowTime - the replay window time
    • getReplayWindowTime

      long getReplayWindowTime()
      Deprecated.
      Returns the time-based replay window in milliseconds.
      Returns:
      the replay window time
    • setReplayWindowMessageCount

      void setReplayWindowMessageCount(int replayWindowMessageCount)
      Deprecated.
      Sets the maximum number of replay cache entries.
      Parameters:
      replayWindowMessageCount - the replay window message count
    • getReplayWindowMessageCount

      int getReplayWindowMessageCount()
      Deprecated.
      Returns the maximum number of replay cache entries.
      Returns:
      the replay window message count