public static enum CloudFoundryAuthorizationException.Reason extends Enum<CloudFoundryAuthorizationException.Reason>
Enum Constant and Description |
---|
ACCESS_DENIED |
INVALID_AUDIENCE |
INVALID_ISSUER |
INVALID_KEY_ID |
INVALID_SIGNATURE |
INVALID_TOKEN |
MISSING_AUTHORIZATION |
SERVICE_UNAVAILABLE |
TOKEN_EXPIRED |
UNSUPPORTED_TOKEN_SIGNING_ALGORITHM |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.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 org.springframework.http.HttpStatus getStatus()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.