Enum CloudFoundryAuthorizationException.Reason
java.lang.Object
java.lang.Enum<CloudFoundryAuthorizationException.Reason>
org.springframework.boot.actuate.autoconfigure.cloudfoundry.CloudFoundryAuthorizationException.Reason
- All Implemented Interfaces:
Serializable
,Comparable<CloudFoundryAuthorizationException.Reason>
,Constable
- Enclosing class:
- CloudFoundryAuthorizationException
public static enum CloudFoundryAuthorizationException.Reason
extends Enum<CloudFoundryAuthorizationException.Reason>
Reasons why the exception can be thrown.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAccess Denied.Invalid Audience.Invalid Issuer.Invalid Key ID.Invalid Signature.Invalid Token.Missing Authorization.Service Unavailable.Token Expired.Unsupported Token Signing Algorithm. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACCESS_DENIED
Access Denied. -
INVALID_AUDIENCE
Invalid Audience. -
INVALID_ISSUER
Invalid Issuer. -
INVALID_KEY_ID
Invalid Key ID. -
INVALID_SIGNATURE
Invalid Signature. -
INVALID_TOKEN
Invalid Token. -
MISSING_AUTHORIZATION
Missing Authorization. -
TOKEN_EXPIRED
Token Expired. -
UNSUPPORTED_TOKEN_SIGNING_ALGORITHM
Unsupported Token Signing Algorithm. -
SERVICE_UNAVAILABLE
Service Unavailable.
-
-
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
-
getStatus
-