Class UserEntity
java.lang.Object
fr.tiogars.domaintemplate.domains.auth.user.entities.UserEntity
Persists a user account and its password hash.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUserEntity(String username, String passwordHash, boolean enabled, Set<RoleEntity> roles, Instant createdDate, Instant lastModifiedDate) -
Method Summary
-
Constructor Details
-
UserEntity
protected UserEntity() -
UserEntity
-
-
Method Details
-
update
public void update(String username, String passwordHash, boolean enabled, Set<RoleEntity> roles, Instant lastModifiedDate) -
getId
-
getUsername
-
getPasswordHash
-
isEnabled
public boolean isEnabled() -
getRoles
-
getCreatedDate
-
getLastModifiedDate
-