Package org.molgenis.security.user
Interface UserAccountService
-
- All Known Implementing Classes:
UserAccountServiceImpl
public interface UserAccountServiceManage account of the current user
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsergetCurrentUser()Returns the currently logged in uservoidupdateCurrentUser(User user)Update the currently logged in userbooleanvalidateCurrentUserPassword(String password)Validates the password of the current logged in user
-
-
-
Method Detail
-
getCurrentUser
User getCurrentUser()
Returns the currently logged in user
-
updateCurrentUser
void updateCurrentUser(User user)
Update the currently logged in user- Parameters:
user- updated user
-
validateCurrentUserPassword
boolean validateCurrentUserPassword(String password)
Validates the password of the current logged in user
-
-