| Package | Description |
|---|---|
| org.yamcs.security | |
| org.yamcs.web.rest |
| Modifier and Type | Method and Description |
|---|---|
static PrivilegeType |
PrivilegeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivilegeType[] |
PrivilegeType.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,
PrivilegeType type,
String privilege) |
boolean |
AuthModule.hasPrivilege(AuthenticationToken authenticationToken,
PrivilegeType type,
String privilege) |
boolean |
DefaultAuthModule.hasPrivilege(AuthenticationToken authenticationToken,
PrivilegeType type,
String privilege) |
boolean |
User.hasPrivilege(PrivilegeType type,
String privilege) |
boolean |
Privilege.hasPrivilege1(AuthenticationToken authenticationToken,
PrivilegeType 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,
PrivilegeType type,
String privilege) |
protected static void |
RestHandler.verifyAuthorization(AuthenticationToken authToken,
PrivilegeType type,
Collection<String> names) |
protected static void |
RestHandler.verifyAuthorization(AuthenticationToken authToken,
PrivilegeType type,
String... names) |
Copyright © 2018 Space Applications Services. All rights reserved.