| Package | Description |
|---|---|
| org.yamcs.security | |
| org.yamcs.web.rest |
| Modifier and Type | Method and Description |
|---|---|
static Privilege.SystemPrivilege |
Privilege.SystemPrivilege.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Privilege.SystemPrivilege[] |
Privilege.SystemPrivilege.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Privilege.hasPrivilege(AuthenticationToken authenticationToken,
Privilege.SystemPrivilege privilege) |
boolean |
Privilege.hasPrivilege1(AuthenticationToken authToken,
Privilege.SystemPrivilege sysPrivilege)
Like above but instead of throwing InvalidAuthenticationToken, it returns false if the token is not valid.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
RestHandler.checkSystemPrivilege(RestRequest req,
Privilege.SystemPrivilege priv) |
protected void |
RestHandler.verifyAuthorization(AuthenticationToken authToken,
Privilege.SystemPrivilege p) |
Copyright © 2018 Space Applications Services. All rights reserved.