Package org.apache.tika.server.core
Class TlsConfig
java.lang.Object
org.apache.tika.server.core.TlsConfig
- All Implemented Interfaces:
Initializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkInitialization
(InitializableProblemHandler problemHandler) boolean
void
initialize
(Map<String, Param> params) boolean
isActive()
boolean
boolean
boolean
void
setActive
(boolean active) void
setClientAuthenticationRequired
(boolean clientAuthenticationRequired) void
setClientAuthenticationWanted
(boolean clientAuthenticationWanted) void
setKeyStoreFile
(String keyStoreFile) void
setKeyStorePassword
(String keyStorePassword) void
setKeyStoreType
(String keyStoreType) void
setTrustStoreFile
(String trustStoreFile) void
setTrustStorePassword
(String trustStorePassword) void
setTrustStoreType
(String trustStoreType) toString()
-
Constructor Details
-
TlsConfig
public TlsConfig()
-
-
Method Details
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
isPasswordsAESEncrypted
public boolean isPasswordsAESEncrypted() -
getKeyStoreType
-
setKeyStoreType
-
getKeyStorePassword
-
setKeyStorePassword
-
getKeyStoreFile
-
setKeyStoreFile
-
getTrustStoreType
-
setTrustStoreType
-
getTrustStorePassword
-
setTrustStorePassword
-
getTrustStoreFile
-
setTrustStoreFile
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Parameters:
params
- params to use for initialization- Throws:
TikaConfigException
-
checkInitialization
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException - Specified by:
checkInitialization
in interfaceInitializable
- 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
-
hasTrustStore
public boolean hasTrustStore()
-