public enum SecurityStoreTypes extends Enum<SecurityStoreTypes>
| Enum Constant and Description |
|---|
KEYSTORE |
TRUSTSTORE |
| Modifier and Type | Field and Description |
|---|---|
private String |
storePasswordProperty
the Java system property for setting the keystore (or truststore)
password
|
private String |
storeProperty
the Java system property for setting the keystore (or truststore) path
|
private String |
storeTypeProperty
the Java system property for setting the keystore (or truststore) type
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStorePasswordProperty()
Returns the keystore (or truststore) password property.
|
String |
getStoreProperty()
Returns the keystore (or truststore) property.
|
String |
getStoreTypeProperty()
Returns the keystore (or truststore) type property.
|
static void |
logProperties(Writer writer,
boolean logPasswords)
Logs the keystore and truststore Java system property values to the given
writer.
|
static SecurityStoreTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityStoreTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityStoreTypes TRUSTSTORE
public static final SecurityStoreTypes KEYSTORE
private String storeProperty
private String storePasswordProperty
private String storeTypeProperty
public static SecurityStoreTypes[] values()
for (SecurityStoreTypes c : SecurityStoreTypes.values()) System.out.println(c);
public static SecurityStoreTypes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void logProperties(Writer writer, boolean logPasswords)
writer - a writer to log tologPasswords - true if passwords should be logged; false otherwisepublic String getStoreProperty()
public String getStorePasswordProperty()
public String getStoreTypeProperty()
Copyright © 2018 Apache NiFi Project. All rights reserved.