Enum KeyStoreConf
- java.lang.Object
-
- java.lang.Enum<KeyStoreConf>
-
- network.oxalis.ng.commons.security.KeyStoreConf
-
- All Implemented Interfaces:
Serializable,Comparable<KeyStoreConf>
@Title("Key store") public enum KeyStoreConf extends Enum<KeyStoreConf>
- Since:
- 4.0.0
- Author:
- erlend
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEY_ALIASKEY_PASSWORDPASSWORDPATH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyStoreConfvalueOf(String name)Returns the enum constant of this type with the specified name.static KeyStoreConf[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PATH
@Path("oxalis.keystore.path") @DefaultValue("oxalis-keystore.jks") public static final KeyStoreConf PATH
-
PASSWORD
@Path("oxalis.keystore.password") @DefaultValue("changeit") @Secret public static final KeyStoreConf PASSWORD
-
KEY_ALIAS
@Path("oxalis.keystore.key.alias") @DefaultValue("ap") public static final KeyStoreConf KEY_ALIAS
-
KEY_PASSWORD
@Path("oxalis.keystore.key.password") @DefaultValue("changeit") @Secret public static final KeyStoreConf KEY_PASSWORD
-
-
Method Detail
-
values
public static KeyStoreConf[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyStoreConf c : KeyStoreConf.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyStoreConf valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-