Package org.mapfish.print.http
Class CertificateStore
java.lang.Object
org.mapfish.print.http.CertificateStore
- All Implemented Interfaces:
ConfigurationObject,HasConfiguration
A configuration object for configuring a custom certificate/trust store.
It is a uri to a java jks keystore file along with the password for unlocking the store.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLazily create and get the ssl context.getUri()The uri to the certificate store.voidsetConfiguration(Configuration configuration) Set the configuration that the object belongs to.voidsetPassword(String password) The password for unlocking the certificate store.voidThe uri to the certificate store.voidvalidate(List<Throwable> validationErrors, Configuration config) validate that the configuration was correct.
-
Constructor Details
-
CertificateStore
public CertificateStore()
-
-
Method Details
-
getUri
The uri to the certificate store. -
setUri
The uri to the certificate store. It is a uri to a java jks keystore file along with the password for unlocking the store.- Parameters:
uri- the uri to use for loading the file
-
setPassword
The password for unlocking the certificate store.- Parameters:
password- the password for unlocking the certificate store.
-
validate
Description copied from interface:ConfigurationObjectvalidate that the configuration was correct.- Specified by:
validatein interfaceConfigurationObject- Parameters:
validationErrors- a list to add any detected errors to.config- the containing configuration
-
getSSLContext
Lazily create and get the ssl context. -
setConfiguration
Description copied from interface:HasConfigurationSet the configuration that the object belongs to.- Specified by:
setConfigurationin interfaceHasConfiguration- Parameters:
configuration- the configuration object
-