Package org.ehrbase.service
Class UserServiceImp
java.lang.Object
org.ehrbase.service.UserServiceImp
- All Implemented Interfaces:
UserService
-
Constructor Summary
ConstructorsConstructorDescriptionUserServiceImp(IAuthenticationFacade authenticationFacade, CacheProvider cacheProvider, PartyProxyRepository partyProxyRepository) -
Method Summary
Modifier and TypeMethodDescriptionGet 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.
-
Constructor Details
-
UserServiceImp
public UserServiceImp(IAuthenticationFacade authenticationFacade, CacheProvider cacheProvider, PartyProxyRepository partyProxyRepository)
-
-
Method Details
-
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.- Specified by:
getCurrentUserIdin interfaceUserService- Returns:
- UUID of default user, derived from authenticated user.
-