com.ibm.streams.management.domain
Enum SecurityPropertiesMXBean.RevocationMethod
- java.lang.Object
-
- java.lang.Enum<SecurityPropertiesMXBean.RevocationMethod>
-
- com.ibm.streams.management.domain.SecurityPropertiesMXBean.RevocationMethod
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SecurityPropertiesMXBean.RevocationMethod>
- Enclosing interface:
- SecurityPropertiesMXBean
public static enum SecurityPropertiesMXBean.RevocationMethod extends java.lang.Enum<SecurityPropertiesMXBean.RevocationMethod>
Enumeration for the method used for checking whether a certificate has been revoked.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description AUTOMATICThe revocation method is determined based on the certificate content and on domain property settings.CRLA Certificate Revocation List (CRL) is used to check for a revoked certificate.NONENo certificate revocation checking is performed regardless of the contents of the certificate and the current domain property settings.OCSPOnline Certification Status Protocol (OCSP) is used to check for a revoked certificate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static SecurityPropertiesMXBean.RevocationMethodfromString(java.lang.String method)Converts from a string representation of a revocation method to the corresponding enumeration value.java.lang.StringtoString()Converts the enumeration value to a string.static SecurityPropertiesMXBean.RevocationMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SecurityPropertiesMXBean.RevocationMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final SecurityPropertiesMXBean.RevocationMethod AUTOMATIC
The revocation method is determined based on the certificate content and on domain property settings. Online Certificate Status Protocol (OCSP) is used if the certificate contains an OCSP responder URL. A Certificate Revocation List (CRL) is searched if a CRL is referenced in the certificate, by theSECURITY_REVOCATION_FILEproperty, or by theSECURITY_REVOCATION_LDAP_URLproperty. If both OCSP and CRL information are provided, OCSP is used first. If the OCSP responder does not reply, the CRL method is used. If neither OCSP or CRL information is provided, certificate authentication fails.
-
CRL
public static final SecurityPropertiesMXBean.RevocationMethod CRL
A Certificate Revocation List (CRL) is used to check for a revoked certificate. The CRL must either be referenced in the certificate, by theSECURITY_REVOCATION_FILEproperty, or by theSECURITY_REVOCATION_LDAP_URLproperty. If this method is chosen and a CRL is not provided, the certificate fails to authenticate.
-
OCSP
public static final SecurityPropertiesMXBean.RevocationMethod OCSP
Online Certification Status Protocol (OCSP) is used to check for a revoked certificate. The OCSP information in the certificate must contain the URL of an OCSP responder. The OCSP responder determines the revocation status of the certificate. If this method is chosen and either the certificate does not contain an OCSP responder URL or the OCSP responder does not respond, the certificate fails to authenticate.
-
NONE
public static final SecurityPropertiesMXBean.RevocationMethod NONE
No certificate revocation checking is performed regardless of the contents of the certificate and the current domain property settings.
-
-
Method Detail
-
values
public static SecurityPropertiesMXBean.RevocationMethod[] 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 (SecurityPropertiesMXBean.RevocationMethod c : SecurityPropertiesMXBean.RevocationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityPropertiesMXBean.RevocationMethod valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
Converts the enumeration value to a string.- Overrides:
toStringin classjava.lang.Enum<SecurityPropertiesMXBean.RevocationMethod>- Returns:
- a string representation of the RevocationMethod value.
-
fromString
public static SecurityPropertiesMXBean.RevocationMethod fromString(java.lang.String method)
Converts from a string representation of a revocation method to the corresponding enumeration value.- Parameters:
method- specifies a revocation method string value.- Returns:
- the corresponding RevocationMethod enumeration value.
- Throws:
java.lang.IllegalArgumentException- if the input string does not map to an enumeration value.java.lang.NullPointerException- if the input value is null.
-
-