Enum Class PkiServerAuthenticationResult.Code
java.lang.Object
java.lang.Enum<PkiServerAuthenticationResult.Code>
zeroecho.pki.server.spi.PkiServerAuthenticationResult.Code
- All Implemented Interfaces:
Serializable, Comparable<PkiServerAuthenticationResult.Code>, Constable
- Enclosing interface:
PkiServerAuthenticationResult
public static enum PkiServerAuthenticationResult.Code
extends Enum<PkiServerAuthenticationResult.Code>
Safe non-disclosing rejection codes.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPresented certificate is invalid.Client certificate trust validation failed.Client certificate usage constraints reject authentication.Forwarded identity is forbidden in the active topology.Forwarded client identity is malformed or untrusted.Required forwarded client identity is absent.Proxy may not forward client identities.Transport and end-client identities collide.Authentication failed internally without a safe detailed classification.More than one principal mapping matches.No exact principal mapping exists.Resolved principal is disabled.Transport proxy is not trusted. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PkiServerAuthenticationResult.Code[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CERTIFICATE_INVALID
Presented certificate is invalid. -
MAPPING_UNAVAILABLE
No exact principal mapping exists. -
MAPPING_AMBIGUOUS
More than one principal mapping matches. -
PRINCIPAL_DISABLED
Resolved principal is disabled. -
FORWARDED_IDENTITY_FORBIDDEN
Forwarded identity is forbidden in the active topology. -
PROXY_NOT_TRUSTED
Transport proxy is not trusted. -
FORWARDING_NOT_AUTHORIZED
Proxy may not forward client identities. -
FORWARDED_IDENTITY_MISSING
Required forwarded client identity is absent. -
FORWARDED_IDENTITY_INVALID
Forwarded client identity is malformed or untrusted. -
CLIENT_TRUST_REJECTED
Client certificate trust validation failed. -
CLIENT_USAGE_REJECTED
Client certificate usage constraints reject authentication. -
IDENTITY_COLLISION
Transport and end-client identities collide. -
INTERNAL_FAILURE
Authentication failed internally without a safe detailed classification.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-