Class AuthorizationInfo

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

public class AuthorizationInfo extends Object
Collection of system and object privileges.

AuthModules may choose to organize privilege by roles, but such information is not considered by Yamcs itself, where only permissions count.

  • Constructor Details

    • AuthorizationInfo

      public AuthorizationInfo()
  • Method Details

    • grantSuperuser

      public void grantSuperuser()
    • isSuperuser

      public boolean isSuperuser()
    • getSystemPrivileges

      public Set<SystemPrivilege> getSystemPrivileges()
    • getObjectPrivileges

      public Set<ObjectPrivilege> getObjectPrivileges()
    • addSystemPrivilege

      public void addSystemPrivilege(SystemPrivilege privilege)
    • addObjectPrivilege

      public void addObjectPrivilege(ObjectPrivilege privilege)