Package ubic.gemma.core.job
Class SchedulerSecurityTest
- java.lang.Object
- 
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
- 
- ubic.gemma.core.util.test.BaseTest
- 
- ubic.gemma.core.util.test.BaseIntegrationTest
- 
- ubic.gemma.core.job.SchedulerSecurityTest
 
 
 
 
- 
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
 
 public class SchedulerSecurityTest extends BaseIntegrationTest Tests security of methods run by Quartz.- Author:
- keshav
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSchedulerSecurityTest.TestSecureJob
 - 
Constructor SummaryConstructors Constructor Description SchedulerSecurityTest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrunSecuredMethodOnSchedule()voidrunSecuredMethodOnScheduleMultiGroup()voidrunUnauthorizedMethodOnSchedule()voidtestSecureJob()- 
Methods inherited from class ubic.gemma.core.util.test.BaseIntegrationTestsetUpAuthentication, tearDownSecurityContext
 
- 
 
- 
- 
- 
Method Detail- 
runSecuredMethodOnSchedulepublic void runSecuredMethodOnSchedule() throws Exception- Throws:
- Exception
 
 - 
runSecuredMethodOnScheduleMultiGrouppublic void runSecuredMethodOnScheduleMultiGroup() throws Exception- Throws:
- Exception
 
 - 
runUnauthorizedMethodOnSchedulepublic void runUnauthorizedMethodOnSchedule() throws Exception- Throws:
- Exception
 
 - 
testSecureJobpublic void testSecureJob() throws org.quartz.JobExecutionException- Throws:
- org.quartz.JobExecutionException
 
 
- 
 
-