Package org.yamcs.security
Class Account
java.lang.Object
org.yamcs.security.Account
- Direct Known Subclasses:
ServiceAccount
,User
A
User
or an ServiceAccount
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
confirm()
boolean
long
long
long
long
getId()
long
getName()
Identifying attribute, e.g. a username or an application name.int
hashCode()
boolean
isActive()
boolean
True if this is a built-in account (i.e. one that is not stored)protected AccountRecord.Builder
void
setActive
(boolean active) void
setDisplayName
(String displayName) void
toString()
protected Tuple
toTuple
(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
-