Class ServiceAccount

java.lang.Object
org.yamcs.security.Account
org.yamcs.security.ServiceAccount

public class ServiceAccount extends Account
Represents an non-human service or application registered with Yamcs.

The service account is assumed to represent one application only.

Note that currently service accounts are only used for impersonation purposes. This is a strong feature equivalent to the superuser attribute that should only be used for confidential applications.

In future iterations we may want to add weaker and more selective service accounts, for example by subjecting service accounts to the same permission checks as regular users.

  • Constructor Details

    • ServiceAccount

      public ServiceAccount(String name, User createdBy)
  • Method Details

    • getApplicationId

      public String getApplicationId()
    • toTuple

      public Tuple toTuple(boolean forUpdate)
      Overrides:
      toTuple in class Account