public static enum CloudFoundryAuthorizationException.Reason extends Enum<CloudFoundryAuthorizationException.Reason>
Enum Constant and Description |
---|
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.
|
SERVICE_UNAVAILABLE
Service Unavailable.
|
TOKEN_EXPIRED
Token Expired.
|
UNSUPPORTED_TOKEN_SIGNING_ALGORITHM
Unsupported Token Signing Algorithm.
|
Modifier and Type | Method and Description |
---|---|
HttpStatus |
getStatus() |
static CloudFoundryAuthorizationException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudFoundryAuthorizationException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudFoundryAuthorizationException.Reason ACCESS_DENIED
public static final CloudFoundryAuthorizationException.Reason INVALID_AUDIENCE
public static final CloudFoundryAuthorizationException.Reason INVALID_ISSUER
public static final CloudFoundryAuthorizationException.Reason INVALID_KEY_ID
public static final CloudFoundryAuthorizationException.Reason INVALID_SIGNATURE
public static final CloudFoundryAuthorizationException.Reason INVALID_TOKEN
public static final CloudFoundryAuthorizationException.Reason MISSING_AUTHORIZATION
public static final CloudFoundryAuthorizationException.Reason TOKEN_EXPIRED
public static final CloudFoundryAuthorizationException.Reason UNSUPPORTED_TOKEN_SIGNING_ALGORITHM
public static final CloudFoundryAuthorizationException.Reason SERVICE_UNAVAILABLE
public static CloudFoundryAuthorizationException.Reason[] values()
for (CloudFoundryAuthorizationException.Reason c : CloudFoundryAuthorizationException.Reason.values()) System.out.println(c);
public static CloudFoundryAuthorizationException.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic HttpStatus getStatus()