@Plugin(name="TrustStore", category="Core", printObject=true) public class TrustStoreConfiguration extends AbstractKeyStoreConfiguration
LOGGER
Constructor and Description |
---|
TrustStoreConfiguration(String location,
String password,
String keyStoreType,
String trustManagerFactoryAlgorithm) |
Modifier and Type | Method and Description |
---|---|
static TrustStoreConfiguration |
createKeyStoreConfiguration(String location,
String password,
String keyStoreType,
String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.
|
TrustManagerFactory |
initTrustManagerFactory() |
getKeyStore, load
equals, getLocation, getPassword, getPasswordAsCharArray, hashCode, setLocation, setPassword
public TrustStoreConfiguration(String location, String password, String keyStoreType, String trustManagerFactoryAlgorithm) throws StoreConfigurationException
StoreConfigurationException
@PluginFactory public static TrustStoreConfiguration createKeyStoreConfiguration(@PluginAttribute(value="location") String location, @PluginAttribute(value="password") String password, @PluginAttribute(value="type") String keyStoreType, @PluginAttribute(value="trustManagerFactoryAlgorithm") String trustManagerFactoryAlgorithm) throws StoreConfigurationException
location
- The location of the KeyStore.password
- The password to access the KeyStore.keyStoreType
- The KeyStore type, null defaults to "JKS"
.trustManagerFactoryAlgorithm
- TODOStoreConfigurationException
public TrustManagerFactory initTrustManagerFactory() throws NoSuchAlgorithmException, KeyStoreException
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.