Interface User
- All Superinterfaces:
Auditable
- All Known Implementing Classes:
UserDTO
The interface of a user. The user is the entity which executes every operation.
-
Method Summary
-
Method Details
-
name
String name()The 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.- Returns:
- The name of the user.
-
roles
The roles of the user. A user can have multiple roles. Every role binds several privileges.- Returns:
- The roles of the user.
-