Package eu.emi.security.authn.x509
Enum NamespaceCheckingMode
- java.lang.Object
-
- java.lang.Enum<NamespaceCheckingMode>
-
- eu.emi.security.authn.x509.NamespaceCheckingMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NamespaceCheckingMode>
public enum NamespaceCheckingMode extends java.lang.Enum<NamespaceCheckingMode>
Used to define the CA namespace checking mode.- Author:
- K. Benedyczak
- See Also:
OpensslCertChainValidator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EUGRIDPMA
An EuGridPMA namespaces definition is checked only.EUGRIDPMA_AND_GLOBUS
Both EuGridPMA namespaces definition and Globus EACL are enforced for the issuer.EUGRIDPMA_AND_GLOBUS_REQUIRE
Both EuGridPMA namespaces definition and Globus EACL are enforced for the issuer.EUGRIDPMA_GLOBUS
An EuGridPMA namespaces definition is checked first.EUGRIDPMA_GLOBUS_REQUIRE
An EuGridPMA namespaces definition is checked first.EUGRIDPMA_REQUIRE
An EuGridPMA namespaces definition is checked only.GLOBUS
A Globus EACL is checked only.GLOBUS_EUGRIDPMA
A Globus EACL is checked first.GLOBUS_EUGRIDPMA_REQUIRE
A Globus EACL is checked first.GLOBUS_REQUIRE
A Globus EACL is checked only.IGNORE
CA namespaces are fully ignored, even if present.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
euGridPmaEnabled()
boolean
globusEnabled()
boolean
isGlobusFirst()
boolean
isRequired()
static NamespaceCheckingMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NamespaceCheckingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static NamespaceCheckingMode[] 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 (NamespaceCheckingMode c : NamespaceCheckingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamespaceCheckingMode 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
-
globusEnabled
public boolean globusEnabled()
-
euGridPmaEnabled
public boolean euGridPmaEnabled()
-
isRequired
public boolean isRequired()
-
isGlobusFirst
public boolean isGlobusFirst()
-
-