throw new NotAuthorizedException();
throw new NotAuthorizedFilterException();
    final public void execute(ServiceRequest request, ServiceResponse response) throws FilterException,            Exception {        super.execute(request, response);        Integer testId = (Integer) request.getServiceParameters().parametersArray()[1];        ISuportePersistente sp = SuportePersistenteOJB.getInstance();        IPersistentDistributedTest distributedTestDAO = sp.getIPersistentDistributedTest();        IDistributedTest distributedTest = (IDistributedTest) distributedTestDAO.readByOID(                DistributedTest.class, testId);        if (distributedTest != null) {            Calendar now = Calendar.getInstance();            Calendar beginDate = distributedTest.getBeginDate();            Calendar beginHour = distributedTest.getBeginHour();            getFullCalendar(beginDate, beginHour);            Calendar endDate = distributedTest.getEndDate();            Calendar endHour = distributedTest.getEndHour();            getFullCalendar(endDate, endHour);            if (!canReadTest(now, beginDate, endDate)) {                throw new NotAuthorizedException();            }        }    }