| Package | Description |
|---|---|
| org.yamcs.security | |
| org.yamcs.web.rest | |
| org.yamcs.web.websocket |
| Modifier and Type | Method and Description |
|---|---|
static SystemPrivilege |
SystemPrivilege.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemPrivilege[] |
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,
SystemPrivilege privilege) |
boolean |
Privilege.hasPrivilege1(AuthenticationToken authToken,
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,
SystemPrivilege priv) |
protected void |
RestHandler.verifyAuthorization(AuthenticationToken authToken,
SystemPrivilege p) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractWebSocketResource.verifyAuthorization(int requestId,
SystemPrivilege systemPrivilege) |
Copyright © 2018 Space Applications Services. All rights reserved.