Enum SSLCredentialProvider.CredentialType
- java.lang.Object
-
- java.lang.Enum<SSLCredentialProvider.CredentialType>
-
- org.apache.solr.util.configuration.SSLCredentialProvider.CredentialType
-
- All Implemented Interfaces:
Serializable
,Comparable<SSLCredentialProvider.CredentialType>
- Enclosing interface:
- SSLCredentialProvider
public static enum SSLCredentialProvider.CredentialType extends Enum<SSLCredentialProvider.CredentialType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SSL_CLIENT_KEY_STORE_PASSWORD
SSL_CLIENT_TRUST_STORE_PASSWORD
SSL_KEY_STORE_PASSWORD
SSL_TRUST_STORE_PASSWORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SSLCredentialProvider.CredentialType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SSLCredentialProvider.CredentialType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SSL_KEY_STORE_PASSWORD
public static final SSLCredentialProvider.CredentialType SSL_KEY_STORE_PASSWORD
-
SSL_TRUST_STORE_PASSWORD
public static final SSLCredentialProvider.CredentialType SSL_TRUST_STORE_PASSWORD
-
SSL_CLIENT_KEY_STORE_PASSWORD
public static final SSLCredentialProvider.CredentialType SSL_CLIENT_KEY_STORE_PASSWORD
-
SSL_CLIENT_TRUST_STORE_PASSWORD
public static final SSLCredentialProvider.CredentialType SSL_CLIENT_TRUST_STORE_PASSWORD
-
-
Method Detail
-
values
public static SSLCredentialProvider.CredentialType[] 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 (SSLCredentialProvider.CredentialType c : SSLCredentialProvider.CredentialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSLCredentialProvider.CredentialType 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
-
-