public class TlsConfig extends Object implements Initializable
Constructor and Description |
---|
TlsConfig() |
Modifier and Type | Method and Description |
---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
String |
getKeyStoreFile() |
String |
getKeyStorePassword() |
String |
getKeyStoreType() |
String |
getTrustStoreFile() |
String |
getTrustStorePassword() |
String |
getTrustStoreType() |
boolean |
hasTrustStore() |
void |
initialize(Map<String,Param> params) |
boolean |
isActive() |
boolean |
isClientAuthenticationRequired() |
boolean |
isClientAuthenticationWanted() |
boolean |
isPasswordsAESEncrypted() |
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) |
String |
toString() |
public boolean isActive()
public void setActive(boolean active)
public boolean isPasswordsAESEncrypted()
public String getKeyStoreType()
public void setKeyStoreType(String keyStoreType)
public String getKeyStorePassword()
public void setKeyStorePassword(String keyStorePassword)
public String getKeyStoreFile()
public void setKeyStoreFile(String keyStoreFile)
public String getTrustStoreType()
public void setTrustStoreType(String trustStoreType)
public String getTrustStorePassword()
public void setTrustStorePassword(String trustStorePassword)
public String getTrustStoreFile()
public void setTrustStoreFile(String trustStoreFile)
public void initialize(Map<String,Param> params) throws TikaConfigException
initialize
in interface Initializable
params
- params to use for initializationTikaConfigException
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization
in interface Initializable
problemHandler
- if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigException
public boolean isClientAuthenticationWanted()
public void setClientAuthenticationWanted(boolean clientAuthenticationWanted)
public boolean isClientAuthenticationRequired()
public void setClientAuthenticationRequired(boolean clientAuthenticationRequired)
public boolean hasTrustStore()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.