org.apache.logging.log4j.core.net.ssl
Class KeyStoreConfiguration

java.lang.Object
  extended by org.apache.logging.log4j.core.net.ssl.StoreConfiguration
      extended by org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration

public class KeyStoreConfiguration
extends StoreConfiguration

Configuration of the KeyStore


Field Summary
 
Fields inherited from class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
LOGGER
 
Constructor Summary
KeyStoreConfiguration(String location, String password)
           
 
Method Summary
static KeyStoreConfiguration createKeyStoreConfiguration(String location, String password)
          Create a KeyStoreConfiguration.
 KeyStore getKeyStore()
           
protected  void load()
           
 
Methods inherited from class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
equals, getLocation, getPassword, getPasswordAsCharArray, setLocation, setPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreConfiguration

public KeyStoreConfiguration(String location,
                             String password)
Method Detail

load

protected void load()
             throws StoreConfigurationException
Overrides:
load in class StoreConfiguration
Throws:
StoreConfigurationException

getKeyStore

public KeyStore getKeyStore()
                     throws StoreConfigurationException
Throws:
StoreConfigurationException

createKeyStoreConfiguration

public static KeyStoreConfiguration createKeyStoreConfiguration(String location,
                                                                String password)
Create a KeyStoreConfiguration.

Parameters:
location - The location of the KeyStore.
password - The password to access the KeyStore.
Returns:


Copyright © 1999-2013 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.