public class StoreConfiguration<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected static StatusLogger |
LOGGER |
Constructor and Description |
---|
StoreConfiguration(String location,
char[] password)
Deprecated.
|
StoreConfiguration(String location,
PasswordProvider passwordProvider) |
StoreConfiguration(String location,
String password)
Deprecated.
|
Modifier and Type | Method and 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()
|
protected static final StatusLogger LOGGER
public StoreConfiguration(String location, PasswordProvider passwordProvider)
@Deprecated public StoreConfiguration(String location, char[] password)
StoreConfiguration(String, PasswordProvider)
@Deprecated public StoreConfiguration(String location, String password)
StoreConfiguration(String, PasswordProvider)
public void clearSecrets()
public String getLocation()
public void setLocation(String location)
@Deprecated public String getPassword()
public char[] getPasswordAsCharArray()
public void setPassword(char[] password)
@Deprecated public void setPassword(String password)
protected T load() throws StoreConfigurationException
StoreConfigurationException
- May be thrown by subclasses Copyright © 1999-2023 The 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.