public class User extends Object
| Constructor and Description |
|---|
User(AuthenticationToken authenticationToken)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationToken |
getAuthenticationToken()
Getters
|
String |
getPrincipalName() |
String[] |
getRoles() |
Set<String> |
getSystemPrivileges() |
Set<String> |
getTcPrivileges() |
Set<String> |
getTmPacketPrivileges() |
Set<String> |
getTmParaPrivileges() |
Set<String> |
getTmParaSetPrivileges() |
boolean |
hasPrivilege(Privilege.Type type,
String privilege) |
boolean |
hasRole(String role) |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean authenticated) |
String |
toString() |
public User(AuthenticationToken authenticationToken)
authenticationToken - public AuthenticationToken getAuthenticationToken()
public String getPrincipalName()
public String[] getRoles()
public boolean hasRole(String role)
public boolean hasPrivilege(Privilege.Type type, String privilege)
public boolean isAuthenticated()
public void setAuthenticated(boolean authenticated)
Copyright © 2018 Space Applications Services. All rights reserved.