if (statusUser != null) {
// Security check
// bypass the security check when no user is logged in
// => for non-authenticated rss access
if ((currentUser != null) && !statusUser.getDomain().equals(currentUser.getDomain())) {
throw new DomainViolationException("User " + currentUser + " tried to access " +
" status : " + abstractStatus);
}
StatusDTO statusDTO = new StatusDTO();
statusDTO.setStatusId(abstractStatus.getStatusId());