Package org.yamcs.security
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.
-
-
Field Summary
-
Fields inherited from class org.yamcs.security.Account
active, confirmationTime, createdBy, creationTime, displayName, id, lastLoginTime, name
-
-
Constructor Summary
Constructors Constructor Description ServiceAccount(String name, User createdBy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApplicationId()
-
Methods inherited from class org.yamcs.security.Account
confirm, equals, getConfirmationTime, getCreatedBy, getCreationTime, getDisplayName, getId, getLastLoginTime, getName, hashCode, isActive, newRecordBuilder, setActive, setDisplayName, setName, toString
-
-