Package eu.emi.security.authn.x509
Enum NamespaceCheckingMode
- All Implemented Interfaces:
Serializable
,Comparable<NamespaceCheckingMode>
,java.lang.constant.Constable
Used to define the CA namespace checking mode.
- Author:
- K. Benedyczak
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn EuGridPMA namespaces definition is checked only.Both EuGridPMA namespaces definition and Globus EACL are enforced for the issuer.Both EuGridPMA namespaces definition and Globus EACL are enforced for the issuer.An EuGridPMA namespaces definition is checked first.An EuGridPMA namespaces definition is checked first.An EuGridPMA namespaces definition is checked only.A Globus EACL is checked only.A Globus EACL is checked first.A Globus EACL is checked first.A Globus EACL is checked only.CA namespaces are fully ignored, even if present. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
static NamespaceCheckingMode
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 Details
-
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
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
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
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
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
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
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
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
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
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
CA namespaces are fully ignored, even if present.
-
-
Method Details
-
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
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
-
globusEnabled
public boolean globusEnabled() -
euGridPmaEnabled
public boolean euGridPmaEnabled() -
isRequired
public boolean isRequired() -
isGlobusFirst
public boolean isGlobusFirst()
-