| Package | Description |
|---|---|
| org.yamcs.security | |
| org.yamcs.web.rest |
| Modifier and Type | Method and Description |
|---|---|
User |
Privilege.getUser(AuthenticationToken authToken) |
User |
AuthModule.getUser(AuthenticationToken authToken)
returns the user authenticated by the token
|
User |
DefaultAuthModule.getUser(AuthenticationToken authenticationToken) |
User |
YamlRealm.loadUser(AuthenticationToken authToken) |
User |
LdapRealm.loadUser(AuthenticationToken authToken)
Loads a user from LDAP together with all the roles and the privileges.
|
User |
Realm.loadUser(AuthenticationToken authenticationToken)
loadUser, load the roles and privileges of the user
|
| Modifier and Type | Method and Description |
|---|---|
static String |
JWT.generateHS256Token(User user,
String secret,
int ttl)
Generates a signed JSON Web Token appended with a signature which can be used to validate the JWT by whoever
knows the specified secret.
|
static String |
JWT.generateUnsignedToken(User user,
int ttl)
Generates an unsigned JSON Web Token.
|
| Modifier and Type | Method and Description |
|---|---|
static YamcsManagement.UserInfo |
UserRestHandler.toUserInfo(User user,
boolean addClientInfo) |
Copyright © 2018 Space Applications Services. All rights reserved.