com.ibm.streams.management.domain

Enum SecurityPropertiesMXBean.RevocationMethod

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      AUTOMATIC
      The revocation method is determined based on the certificate content and on domain property settings.
      CRL
      A Certificate Revocation List (CRL) is used to check for a revoked certificate.
      NONE
      No certificate revocation checking is performed regardless of the contents of the certificate and the current domain property settings.
      OCSP
      Online Certification Status Protocol (OCSP) is used to check for a revoked certificate.
    • 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 the SECURITY_REVOCATION_FILE property, or by the SECURITY_REVOCATION_LDAP_URL property. 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 the SECURITY_REVOCATION_FILE property, or by the SECURITY_REVOCATION_LDAP_URL property. 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 name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Converts the enumeration value to a string.
        Overrides:
        toString in class java.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.