Class Account

java.lang.Object
org.yamcs.security.Account
Direct Known Subclasses:
ServiceAccount, User

public abstract class Account extends Object
  • Field Details

    • id

      protected long id
    • name

      protected String name
    • displayName

      protected String displayName
    • active

      protected boolean active
    • createdBy

      protected long createdBy
    • creationTime

      protected long creationTime
    • confirmationTime

      protected long confirmationTime
    • lastLoginTime

      protected long lastLoginTime
  • Constructor Details

  • Method Details

    • isBuiltIn

      public boolean isBuiltIn()
      True if this is a built-in account (i.e. one that is not stored)
    • getName

      public String getName()
      Identifying attribute, e.g. a username or an application name.
    • setName

      public void setName(String name)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getCreatedBy

      public long getCreatedBy()
    • getCreationTime

      public long getCreationTime()
    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)
    • getConfirmationTime

      public long getConfirmationTime()
    • getLastLoginTime

      public long getLastLoginTime()
    • confirm

      public void confirm()
    • getId

      public long getId()
    • newRecordBuilder

      protected AccountRecord.Builder newRecordBuilder()
    • toTuple

      protected Tuple toTuple(boolean forUpdate)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object