use of alien4cloud.security.event.UserDeletedEvent in project alien4cloud by alien4cloud.
the class UserService method deleteUser.
/**
* Delete a user, and publish an event
*
* @param username The username of the user to delete
*/
public void deleteUser(String username) {
User user = retrieveUser(username);
alienUserDao.delete(username);
publisher.publishEvent(new UserDeletedEvent(this, user));
}
Aggregations