Class StoreConfiguration<T>
- java.lang.Object
-
- org.apache.logging.log4j.core.net.ssl.StoreConfiguration<T>
-
- Direct Known Subclasses:
AbstractKeyStoreConfiguration
public class StoreConfiguration<T> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StatusLogger
LOGGER
-
Constructor Summary
Constructors Constructor Description StoreConfiguration(String location, char[] password)
Deprecated.StoreConfiguration(String location, String password)
Deprecated.StoreConfiguration(String location, PasswordProvider passwordProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clearSecrets()
Clears the secret fields in this object.boolean
equals(Object obj)
String
getLocation()
String
getPassword()
Deprecated.Use getPasswordAsCharArray()char[]
getPasswordAsCharArray()
int
hashCode()
protected T
load()
void
setLocation(String location)
void
setPassword(char[] password)
void
setPassword(String password)
Deprecated.Use getPasswordAsCharArray()
-
-
-
Field Detail
-
LOGGER
protected static final StatusLogger LOGGER
-
-
Constructor Detail
-
StoreConfiguration
public StoreConfiguration(String location, PasswordProvider passwordProvider)
-
StoreConfiguration
@Deprecated public StoreConfiguration(String location, char[] password)
Deprecated.
-
StoreConfiguration
@Deprecated public StoreConfiguration(String location, String password)
Deprecated.
-
-
Method Detail
-
clearSecrets
public void clearSecrets()
Clears the secret fields in this object.
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String location)
-
getPassword
@Deprecated public String getPassword()
Deprecated.Use getPasswordAsCharArray()
-
getPasswordAsCharArray
public char[] getPasswordAsCharArray()
-
setPassword
public void setPassword(char[] password)
-
setPassword
@Deprecated public void setPassword(String password)
Deprecated.Use getPasswordAsCharArray()
-
load
protected T load() throws StoreConfigurationException
- Throws:
StoreConfigurationException
- May be thrown by subclasses
-
-