Package co.ankatech.ankasecure.sdk.auth
Enum Class ExternalIssuerAdmissionException.Rule
java.lang.Object
java.lang.Enum<ExternalIssuerAdmissionException.Rule>
co.ankatech.ankasecure.sdk.auth.ExternalIssuerAdmissionException.Rule
- All Implemented Interfaces:
Serializable,Comparable<ExternalIssuerAdmissionException.Rule>,Constable
- Enclosing class:
- ExternalIssuerAdmissionException
public static enum ExternalIssuerAdmissionException.Rule
extends Enum<ExternalIssuerAdmissionException.Rule>
The admission rules, one per way an issuer can be refused. Exactly one applies to any refusal
- the rules are evaluated in the order declared here, and the first that fires wins.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAt least one resolved address is in the egress reject set.Carries a fragment.The host does not resolve, so there is nothing that could be pinned.Every resolved address is loopback and the environment opt-in is not set.Absent, blank, or not parseable as an HTTP URL at all.Carries a query string.Parseable, but nothttps.Carries a username or a password. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NOT_A_URL
Absent, blank, or not parseable as an HTTP URL at all. -
SCHEME_NOT_HTTPS
Parseable, but nothttps. A token is posted over this hop. -
USERINFO_PRESENT
Carries a username or a password. Refused BEFORE the URI is retained. -
QUERY_PRESENT
Carries a query string. -
FRAGMENT_PRESENT
Carries a fragment. -
HOST_DOES_NOT_RESOLVE
The host does not resolve, so there is nothing that could be pinned. -
ADDRESS_NOT_ROUTABLE
At least one resolved address is in the egress reject set. -
LOOPBACK_WITHOUT_OPT_IN
Every resolved address is loopback and the environment opt-in is not set.
-
-
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
-