public enum Role extends Enum<Role>
Related specifications:
Enum Constant and Description |
---|
AUTHORIZATION_SERVER
The server issuing access tokens to the client after successfully
authenticating the resource owner and obtaining authorization.
|
CLIENT
An application making protected resource requests on behalf of the
resource owner and with its authorization.
|
RESOURCE_OWNER
An entity capable of granting access to a protected resource.
|
RESOURCE_SERVER
The server hosting the protected resources, capable of accepting
and responding to protected resource requests using access tokens.
|
Modifier and Type | Method and Description |
---|---|
static Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role RESOURCE_OWNER
public static final Role RESOURCE_SERVER
public static final Role CLIENT
public static final Role AUTHORIZATION_SERVER
public static Role[] values()
for (Role c : Role.values()) System.out.println(c);
public static Role 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 nullCopyright © 2013 NimbusDS. All Rights Reserved.