Class UserManagementServiceImpl
java.lang.Object
net.andresbustamante.yafoot.users.services.impl.UserManagementServiceImpl
- All Implemented Interfaces:
UserManagementService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteUser
(User user, UserContext ctx) Removes a user from the internal user directory.void
updateUser
(User user, UserContext ctx) Updates a user's details in the active directory.
-
Constructor Details
-
UserManagementServiceImpl
-
-
Method Details
-
updateUser
@Transactional(propagation=REQUIRES_NEW) public void updateUser(User user, UserContext ctx) throws DirectoryException Description copied from interface:UserManagementService
Updates a user's details in the active directory. It does not updates user's password.- Specified by:
updateUser
in interfaceUserManagementService
- Parameters:
user
- User with updated details- Throws:
DirectoryException
-
deleteUser
@Transactional(propagation=REQUIRES_NEW) public void deleteUser(User user, UserContext ctx) throws DirectoryException Description copied from interface:UserManagementService
Removes a user from the internal user directory.- Specified by:
deleteUser
in interfaceUserManagementService
- Throws:
DirectoryException
-