Package org.apache.solr.security.cert
Enum CertResolverPattern.CheckType
- java.lang.Object
-
- java.lang.Enum<CertResolverPattern.CheckType>
-
- org.apache.solr.security.cert.CertResolverPattern.CheckType
-
- All Implemented Interfaces:
Serializable,Comparable<CertResolverPattern.CheckType>
- Enclosing class:
- CertResolverPattern
public static enum CertResolverPattern.CheckType extends Enum<CertResolverPattern.CheckType>
Enum defining the types of checks that can be performed on extracted certificate values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINSENDS_WITHEQUALSSTARTS_WITHWILDCARD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CertResolverPattern.CheckTypefromString(String checkType)static CertResolverPattern.CheckTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CertResolverPattern.CheckType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTS_WITH
public static final CertResolverPattern.CheckType STARTS_WITH
-
ENDS_WITH
public static final CertResolverPattern.CheckType ENDS_WITH
-
CONTAINS
public static final CertResolverPattern.CheckType CONTAINS
-
EQUALS
public static final CertResolverPattern.CheckType EQUALS
-
WILDCARD
public static final CertResolverPattern.CheckType WILDCARD
-
-
Method Detail
-
values
public static CertResolverPattern.CheckType[] 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 (CertResolverPattern.CheckType c : CertResolverPattern.CheckType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertResolverPattern.CheckType 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
-
fromString
public static CertResolverPattern.CheckType fromString(String checkType)
-
-