| Package | Description |
|---|---|
| org.yamcs.security |
| 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.
|
Copyright © 2017 Space Applications Services. All rights reserved.