Enum NamespaceCheckingMode

java.lang.Object
java.lang.Enum<NamespaceCheckingMode>
eu.emi.security.authn.x509.NamespaceCheckingMode
All Implemented Interfaces:
Serializable, Comparable<NamespaceCheckingMode>, java.lang.constant.Constable

public enum NamespaceCheckingMode extends Enum<NamespaceCheckingMode>
Used to define the CA namespace checking mode.
Author:
K. Benedyczak
See Also:
  • Enum Constant Details

    • GLOBUS_EUGRIDPMA

      public static final NamespaceCheckingMode GLOBUS_EUGRIDPMA
      A Globus EACL is checked first. If found for the issuing CA then it is used and enforced. If not found then EuGridPMA namespaces definition is searched. If found for the issuing CA then it is enforced. If no definition is present then namespaces check is considered to be passed.
    • EUGRIDPMA_GLOBUS

      public static final NamespaceCheckingMode EUGRIDPMA_GLOBUS
      An EuGridPMA namespaces definition is checked first. If found for the issuing CA then it is enforced. If not found then Globus EACL definition is searched. If found for the issuing CA then it is enforced. If no definition is present then namespaces check is considered to be passed.
    • GLOBUS

      public static final NamespaceCheckingMode GLOBUS
      A Globus EACL is checked only. If found for the issuing CA then it is used and enforced. If no definition is present then namespaces check is considered to be passed.
    • EUGRIDPMA

      public static final NamespaceCheckingMode EUGRIDPMA
      An EuGridPMA namespaces definition is checked only. If found for the issuing CA then it is enforced. If no definition is present then namespaces check is considered to be passed.
    • GLOBUS_EUGRIDPMA_REQUIRE

      public static final NamespaceCheckingMode GLOBUS_EUGRIDPMA_REQUIRE
      A Globus EACL is checked first. If found for the issuing CA then it is used and enforced. If not found then EuGridPMA namespaces definition is searched. If found for the issuing CA then it is enforced. If no definition is present then namespaces check is considered to be failed.
    • EUGRIDPMA_GLOBUS_REQUIRE

      public static final NamespaceCheckingMode EUGRIDPMA_GLOBUS_REQUIRE
      An EuGridPMA namespaces definition is checked first. If found for the issuing CA then it is enforced. If not found then Globus EACL definition is searched. If found for the issuing CA then it is enforced. If no definition is present then namespaces check is considered to be failed.
    • GLOBUS_REQUIRE

      public static final NamespaceCheckingMode GLOBUS_REQUIRE
      A Globus EACL is checked only. If found for the issuing CA then it is used and enforced. If no definition is present then namespaces check is considered to be failed.
    • EUGRIDPMA_REQUIRE

      public static final NamespaceCheckingMode EUGRIDPMA_REQUIRE
      An EuGridPMA namespaces definition is checked only. If found for the issuing CA then it is enforced. If no definition is present then namespaces check is considered to be failed.
    • EUGRIDPMA_AND_GLOBUS

      public static final NamespaceCheckingMode EUGRIDPMA_AND_GLOBUS
      Both EuGridPMA namespaces definition and Globus EACL are enforced for the issuer. If no definition is present then namespaces check is considered to be passed.
    • EUGRIDPMA_AND_GLOBUS_REQUIRE

      public static final NamespaceCheckingMode EUGRIDPMA_AND_GLOBUS_REQUIRE
      Both EuGridPMA namespaces definition and Globus EACL are enforced for the issuer. If no definition is present then namespaces check is considered to be failed.
    • IGNORE

      public static final NamespaceCheckingMode IGNORE
      CA namespaces are fully ignored, even if present.
  • Method Details

    • values

      public static NamespaceCheckingMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NamespaceCheckingMode 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 name
      NullPointerException - if the argument is null
    • globusEnabled

      public boolean globusEnabled()
    • euGridPmaEnabled

      public boolean euGridPmaEnabled()
    • isRequired

      public boolean isRequired()
    • isGlobusFirst

      public boolean isGlobusFirst()