Class UserService

java.lang.Object
org.ehrbase.service.UserService
All Implemented Interfaces:
IUserService

@Service public class UserService extends Object implements IUserService
  • Constructor Details

  • Method Details

    • getCurrentUserId

      public UUID getCurrentUserId()
      Get default user UUID, derived from authenticated user via Spring Security.
      Internally checks and retrieves the matching user UUID, if it already exists with given info. This operation is tenant aware.
      Specified by:
      getCurrentUserId in interface IUserService
      Returns:
      UUID of default user, derived from authenticated user.