Class UserDTO
java.lang.Object
org.apache.gravitino.dto.authorization.UserDTO
Represents a User Data Transfer Object (DTO).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUserDTO.Builder<S extends UserDTO.Builder>Builder class for constructing a UserDTO instance. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UserDTO
protected UserDTO()Default constructor for Jackson deserialization. -
UserDTO
Creates a new instance of UserDTO.- Parameters:
name- The name of the User DTO.roles- The roles of the User DTO.audit- The audit information of the User DTO.
-
-
Method Details
-
name
Description copied from interface:UserThe name of the user. It's the identifier of User. It must be unique. Usually the name comes from an external user management system like LDAP, IAM and so on. -
roles
The roles of the user. A user can have multiple roles. Every role binds several privileges. -
auditInfo
-
builder
Creates a new Builder for constructing a User DTO.- Returns:
- A new Builder instance.
-