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 org.molgenis.data.security.auth.UsergetCurrentUser()Returns the currently logged in uservoidupdateCurrentUser(org.molgenis.data.security.auth.User user)Update the currently logged in userbooleanvalidateCurrentUserPassword(java.lang.String password)Validates the password of the current logged in user
-
-
-
Method Detail
-
getCurrentUser
org.molgenis.data.security.auth.User getCurrentUser()
Returns the currently logged in user
-
updateCurrentUser
void updateCurrentUser(org.molgenis.data.security.auth.User user)
Update the currently logged in user- Parameters:
user- updated user
-
validateCurrentUserPassword
boolean validateCurrentUserPassword(java.lang.String password)
Validates the password of the current logged in user
-
-