Package org.yamcs.security
Class AuthorizationInfo
java.lang.Object
org.yamcs.security.AuthorizationInfo
Collection of roles, system and/or object privileges.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObjectPrivilege
(ObjectPrivilege privilege) void
void
addSystemPrivilege
(SystemPrivilege privilege) getRoles()
void
boolean
-
Constructor Details
-
AuthorizationInfo
public AuthorizationInfo()
-
-
Method Details
-
grantSuperuser
public void grantSuperuser() -
isSuperuser
public boolean isSuperuser() -
getRoles
-
getSystemPrivileges
-
getObjectPrivileges
-
addRole
-
addSystemPrivilege
-
addObjectPrivilege
-