ProductUser

@Entity
open class ProductUser : User, UserDetails

Constructors

Link copied to clipboard
constructor()
constructor(username: String, rawPassword: String)
constructor(username: String, rawPassword: String, email: String)
constructor(username: String, encodedPassword: SafePassword)
constructor(username: String, email: String, encodedPassword: SafePassword)
constructor(username: String, email: String, encodedPassword: SafePassword, portfolio: Portfolio, profilePicture: ProfilePicture, lastLogin: LocalDateTime, subscriptionTier: SubscriptionTier)
constructor(username: String, rawPassword: String, portfolio: Portfolio)
constructor(username: String, rawPassword: String, portfolio: Portfolio, lastLogin: LocalDateTime)

Properties

Link copied to clipboard
open var role: UserRoleTier

Functions

Link copied to clipboard
Link copied to clipboard
open fun getAuthorities(): Collection<out GrantedAuthority>
Link copied to clipboard
open fun getId(): Long
Link copied to clipboard
Link copied to clipboard
open fun getPassword(): String
Link copied to clipboard
Link copied to clipboard
open fun getUsername(): 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: Long)
Link copied to clipboard
open fun setLastLogin(lastLogin: LocalDateTime)
Link copied to clipboard
open fun setSafePassword(safePassword: SafePassword)
Link copied to clipboard
open fun setUsername(username: String)
Link copied to clipboard
open fun updateLoginTime()