if(uservo != null && errors.isEmpty())
{
Authenticator auth = new Authenticator(uservo);
if(auth.isValid(Right.EXTERN_WEBSERVICE_WRITE))
{
JobVO job = new JobDAO().getById(id);
if(status.equals(JobVO.Status.COMPLETED.toString()))
job.setStatus(JobVO.Status.COMPLETED);
else if(status.equals(JobVO.Status.IN_PROGRESS.toString()))
job.setStatus(JobVO.Status.IN_PROGRESS);
else if(status.equals(JobVO.Status.PLANNED.toString()))
job.setStatus(JobVO.Status.PLANNED);
new JobDAO().insertOrUpdate(job);
}
else
{
if(log.isInfoEnabled())
log.info("client access denied for username [" + user + "]");