Class TlsConfig

java.lang.Object
org.apache.tika.server.core.TlsConfig
All Implemented Interfaces:
Initializable

public class TlsConfig extends Object implements Initializable
  • Constructor Details

    • TlsConfig

      public TlsConfig()
  • Method Details

    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)
    • isPasswordsAESEncrypted

      public boolean isPasswordsAESEncrypted()
    • getKeyStoreType

      public String getKeyStoreType()
    • setKeyStoreType

      public void setKeyStoreType(String keyStoreType)
    • getKeyStorePassword

      public String getKeyStorePassword()
    • setKeyStorePassword

      public void setKeyStorePassword(String keyStorePassword)
    • getKeyStoreFile

      public String getKeyStoreFile()
    • setKeyStoreFile

      public void setKeyStoreFile(String keyStoreFile)
    • getTrustStoreType

      public String getTrustStoreType()
    • setTrustStoreType

      public void setTrustStoreType(String trustStoreType)
    • getTrustStorePassword

      public String getTrustStorePassword()
    • setTrustStorePassword

      public void setTrustStorePassword(String trustStorePassword)
    • getTrustStoreFile

      public String getTrustStoreFile()
    • setTrustStoreFile

      public void setTrustStoreFile(String trustStoreFile)
    • initialize

      public void initialize(Map<String,Param> params) throws TikaConfigException
      Specified by:
      initialize in interface Initializable
      Parameters:
      params - params to use for initialization
      Throws:
      TikaConfigException
    • checkInitialization

      public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
      Specified by:
      checkInitialization in interface Initializable
      Parameters:
      problemHandler - if there is a problem and no custom initializableProblemHandler has been configured via Initializable parameters, this is called to respond.
      Throws:
      TikaConfigException
    • isClientAuthenticationWanted

      public boolean isClientAuthenticationWanted()
    • setClientAuthenticationWanted

      public void setClientAuthenticationWanted(boolean clientAuthenticationWanted)
    • isClientAuthenticationRequired

      public boolean isClientAuthenticationRequired()
    • setClientAuthenticationRequired

      public void setClientAuthenticationRequired(boolean clientAuthenticationRequired)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hasTrustStore

      public boolean hasTrustStore()