Class AuthorizationInfo

java.lang.Object
org.yamcs.security.AuthorizationInfo

public class AuthorizationInfo extends Object
Collection of roles, system and/or object privileges.
  • Constructor Details

    • AuthorizationInfo

      public AuthorizationInfo()
  • Method Details

    • grantSuperuser

      public void grantSuperuser()
    • isSuperuser

      public boolean isSuperuser()
    • getRoles

      public Set<String> getRoles()
    • getSystemPrivileges

      public Set<SystemPrivilege> getSystemPrivileges()
    • getObjectPrivileges

      public Set<ObjectPrivilege> getObjectPrivileges()
    • addRole

      public void addRole(String role)
    • addSystemPrivilege

      public void addSystemPrivilege(SystemPrivilege privilege)
    • addObjectPrivilege

      public void addObjectPrivilege(ObjectPrivilege privilege)