LoggableConfiguration
public class CustomKeyStoreConfiguration extends Object implements LoggableConfiguration
Supports Log4j logging, see log
.
Property keys: [prefix]*
Modifier and Type | Field | Description |
---|---|---|
boolean |
enable |
If
true a custom key store file must be used for the client
X.509 certificates to be presented to the remote server (if such
authentication is required). |
String |
file |
The file system location of the custom key store file.
|
String |
password |
The password to unlock the custom key store file.
|
String |
type |
The type of the custom key store file, typically "JKS" or "PKCS12".
|
LOG_CATEGORY
Constructor | Description |
---|---|
CustomKeyStoreConfiguration(String prefix,
Properties props) |
Creates a new custom key store configuration from the specified
properties.
|
Modifier and Type | Method | Description |
---|---|---|
void |
log() |
Logs the configuration details at INFO level using Log4j.
|
public final boolean enable
true
a custom key store file must be used for the client
X.509 certificates to be presented to the remote server (if such
authentication is required).
If false
the default key store will be used (if one has
been provided and correctly configured).
Property key: [prefix]enable
public final String file
Property key: [prefix]file
public final String type
null
string indicates to use the system default
type.
Property key: [prefix]type
public CustomKeyStoreConfiguration(String prefix, Properties props) throws com.thetransactioncompany.util.PropertyParseException
Mandatory properties:
Conditionally mandatory properties:
Optional properties, with defaults:
prefix
- The properties prefix. Must not be null
.props
- The properties. Must not be null
.com.thetransactioncompany.util.PropertyParseException
- On a missing or invalid property.public void log()
log
in interface LoggableConfiguration
Copyright © 2018 Connect2id. All rights reserved.