Interface UserManagementService
public interface UserManagementService
User directory management service.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteUser
(User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) Removes a user from the internal user directory.void
updateUser
(User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) Updates a user's details in the active directory.
-
Method Details
-
updateUser
void updateUser(User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.ApplicationException, net.andresbustamante.yafoot.commons.exceptions.DirectoryException Updates a user's details in the active directory. It does not updates user's password.- Parameters:
user
- User with updated detailsctx
-- Throws:
net.andresbustamante.yafoot.commons.exceptions.ApplicationException
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-
deleteUser
void deleteUser(User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException Removes a user from the internal user directory.- Parameters:
user
-ctx
-- Throws:
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-