private ScopeConnector scopeConnector;
private UserAuthConnector userAuthConnector;
public void handleMessage(String message) {
try {
UserDTO userDto = jsonMapper.fromJson(message, UserDTO.class);
userCache.removeUser(userDto);
for (ScopeDTO scopeDto : scopeConnector.findAll()) {
UserAuthDTO userAuthDto = userAuthConnector.findByUsername(
userDto.getUsername(), scopeDto.getId());
userAuthCache.removeUserAuth(userAuthDto);
}
logger.info("remove user : {}", message);
} catch (IOException ex) {