Interface User

All Superinterfaces:
Auditable
All Known Implementing Classes:
UserDTO

@Evolving public interface User extends Auditable
The interface of a user. The user is the entity which executes every operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the user.
    The roles of the user.

    Methods inherited from interface org.apache.gravitino.Auditable

    auditInfo
  • 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

      List<String> roles()
      The roles of the user. A user can have multiple roles. Every role binds several privileges.
      Returns:
      The roles of the user.