AdminUser

@Entity
open class AdminUser : User

The user entity for admin users.

Constructors

Link copied to clipboard
constructor()
constructor(@Nullable username: @Nullable String, @NotNull rawPassword: @NotNull String)
constructor(@Nullable username: @Nullable String, @NotNull encodedPassword: @NotNull SafePassword)

Properties

Link copied to clipboard
open var role: @NotNull UserRoleTier

Functions

Link copied to clipboard
open fun getAuthorities(): Collection<out GrantedAuthority>
Link copied to clipboard
open fun getId(): @Nullable Long
abstract fun getId(): T
Link copied to clipboard
open fun getLastLogin(): @Nullable LocalDateTime
Link copied to clipboard
open fun getPassword(): @Nullable String
Link copied to clipboard
open fun getSafePassword(): @NotNull SafePassword
Link copied to clipboard
open fun getUsername(): @Nullable String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isEnabled(): Boolean
Link copied to clipboard
open fun setId(id: @Nullable Long)
Link copied to clipboard
open fun setLastLogin(lastLogin: @Nullable LocalDateTime)
Link copied to clipboard
open fun setSafePassword(safePassword: @NotNull SafePassword)
Link copied to clipboard
open fun setUsername(username: @Nullable String)
Link copied to clipboard
open fun updateLoginTime()