java.lang.Object
org.yamcs.security.Account
- Direct Known Subclasses:
ServiceAccount,User
A
User or an ServiceAccount-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfirm()booleanlonglonglonglonggetId()longgetName()Identifying attribute, e.g. a username or an application name.inthashCode()booleanisActive()booleanTrue if this is a built-in account (i.e. one that is not stored)protected AccountRecord.BuildervoidsetActive(boolean active) voidsetDisplayName(String displayName) voidtoString()protected TupletoTuple(boolean forUpdate)
-
Field Details
-
id
protected long id -
name
-
displayName
-
active
protected boolean active -
createdBy
protected long createdBy -
creationTime
protected long creationTime -
confirmationTime
protected long confirmationTime -
lastLoginTime
protected long lastLoginTime
-
-
Constructor Details
-
Account
-
-
Method Details
-
isBuiltIn
public boolean isBuiltIn()True if this is a built-in account (i.e. one that is not stored) -
getName
Identifying attribute, e.g. a username or an application name. -
setName
-
getDisplayName
-
setDisplayName
-
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
-
toTuple
-
equals
-
hashCode
public int hashCode() -
toString
-