case class UserAndMetadata(domain: AuthDomain, username: String, displayName: String, _effectiveRoles: Seq[RoleAndOrigins], _passwordChanged: Option[String] = None, groups: Seq[String] = Seq(), externalGroups: Seq[String] = Seq()) extends Product with Serializable
Associates a User with any derived properties, such as the effective roles inherited from groups.
- Annotations
- @Volatile()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UserAndMetadata
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new UserAndMetadata(domain: AuthDomain, username: String, displayName: String, _effectiveRoles: Seq[RoleAndOrigins], _passwordChanged: Option[String] = None, groups: Seq[String] = Seq(), externalGroups: Seq[String] = Seq())
Value Members
- val _passwordChanged: Option[String]
- val displayName: String
- val domain: AuthDomain
-
def
effectiveRoles: Seq[RoleAndOrigins]
Returns all of the user's roles, including roles inherited from groups.
- val externalGroups: Seq[String]
- val groups: Seq[String]
-
def
innateRoles: Seq[Role]
Returns the roles assigned specifically to the user.
Returns the roles assigned specifically to the user. Excludes roles that are only inherited from groups.
- def passwordChanged: Option[Instant]
- def user: User
- val username: String