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