Package com.yahoo.vespa.athenz.zpe
Enum AuthorizationResult.Type
- java.lang.Object
-
- java.lang.Enum<AuthorizationResult.Type>
-
- com.yahoo.vespa.athenz.zpe.AuthorizationResult.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthorizationResult.Type>
- Enclosing class:
- AuthorizationResult
public static enum AuthorizationResult.Type extends java.lang.Enum<AuthorizationResult.Type>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
static AuthorizationResult.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthorizationResult.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW
public static final AuthorizationResult.Type ALLOW
-
DENY
public static final AuthorizationResult.Type DENY
-
DENY_NO_MATCH
public static final AuthorizationResult.Type DENY_NO_MATCH
-
DENY_ROLETOKEN_EXPIRED
public static final AuthorizationResult.Type DENY_ROLETOKEN_EXPIRED
-
DENY_ROLETOKEN_INVALID
public static final AuthorizationResult.Type DENY_ROLETOKEN_INVALID
-
DENY_DOMAIN_MISMATCH
public static final AuthorizationResult.Type DENY_DOMAIN_MISMATCH
-
DENY_DOMAIN_NOT_FOUND
public static final AuthorizationResult.Type DENY_DOMAIN_NOT_FOUND
-
DENY_DOMAIN_EXPIRED
public static final AuthorizationResult.Type DENY_DOMAIN_EXPIRED
-
DENY_DOMAIN_EMPTY
public static final AuthorizationResult.Type DENY_DOMAIN_EMPTY
-
DENY_INVALID_PARAMETERS
public static final AuthorizationResult.Type DENY_INVALID_PARAMETERS
-
DENY_CERT_MISMATCH_ISSUER
public static final AuthorizationResult.Type DENY_CERT_MISMATCH_ISSUER
-
DENY_CERT_MISSING_SUBJECT
public static final AuthorizationResult.Type DENY_CERT_MISSING_SUBJECT
-
DENY_CERT_MISSING_DOMAIN
public static final AuthorizationResult.Type DENY_CERT_MISSING_DOMAIN
-
DENY_CERT_MISSING_ROLE_NAME
public static final AuthorizationResult.Type DENY_CERT_MISSING_ROLE_NAME
-
DENY_CERT_HASH_MISMATCH
public static final AuthorizationResult.Type DENY_CERT_HASH_MISMATCH
-
-
Method Detail
-
values
public static AuthorizationResult.Type[] 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 (AuthorizationResult.Type c : AuthorizationResult.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorizationResult.Type 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
-
getDescription
public java.lang.String getDescription()
-
-