Class User

All Implemented Interfaces:
Buildable, UnsafeSerializable, Serializable, Cloneable

@Entity public class User extends UpdateAutoTimestampEntity implements Buildable
A console user, either a registry employee or a registrar partner.
See Also:
  • Constructor Details

    • User

      public User()
  • Method Details

    • getId

      public Long getId()
    • getEmailAddress

      public String getEmailAddress()
    • getUserRoles

      public UserRoles getUserRoles()
    • hasRegistryLockPassword

      public boolean hasRegistryLockPassword()
    • verifyRegistryLockPassword

      public boolean verifyRegistryLockPassword(String registryLockPassword)
    • hasAnyRegistryLockPermission

      public boolean hasAnyRegistryLockPermission()
      Whether the user has the registry lock permission on any registrar or globally.

      If so, they should be allowed to (re)set their registry lock password.

    • asBuilder

      public User.Builder asBuilder()
      Specified by:
      asBuilder in interface Buildable
    • createVKey

      public VKey<User> createVKey()
      Overrides:
      createVKey in class ImmutableObject