Package org.molgenis.data.security.user
Class UserServiceImpl
- java.lang.Object
-
- org.molgenis.data.security.user.UserServiceImpl
-
- All Implemented Interfaces:
UserService
@Service public class UserServiceImpl extends Object implements UserService
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getSuEmailAddresses()Returns e-mail addresses of super usersUsergetUser(String username)Returns the given userUsergetUserByEmail(String email)Find a user by it's email.List<User>getUsers()voidupdate(User user)Update user
-
-
-
Method Detail
-
getUsers
public List<User> getUsers()
- Specified by:
getUsersin interfaceUserService
-
getSuEmailAddresses
public List<String> getSuEmailAddresses()
Description copied from interface:UserServiceReturns e-mail addresses of super users- Specified by:
getSuEmailAddressesin interfaceUserService
-
getUser
@Nullable @CheckForNull public User getUser(String username)
Description copied from interface:UserServiceReturns the given user- Specified by:
getUserin interfaceUserService
-
update
public void update(User user)
Description copied from interface:UserServiceUpdate user- Specified by:
updatein interfaceUserService
-
getUserByEmail
public User getUserByEmail(String email)
Description copied from interface:UserServiceFind a user by it's email.- Specified by:
getUserByEmailin interfaceUserService- Returns:
- the user or null if not found
-
-