Package ubic.gemma.web.scheduler
Class SchedulerSecurityTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseIntegrationTest
-
- ubic.gemma.web.util.BaseWebIntegrationTest
-
- ubic.gemma.web.scheduler.SchedulerSecurityTest
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
public class SchedulerSecurityTest extends BaseWebIntegrationTest
Tests security of methods run by Quartz.- Author:
- keshav
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchedulerSecurityTest.TestSecureJob
-
Field Summary
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
logger
-
-
Constructor Summary
Constructors Constructor Description SchedulerSecurityTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
runSecuredMethodOnSchedule()
void
runSecuredMethodOnScheduleMultiGroup()
void
runUnauthorizedMethodOnSchedule()
void
testSecureJob()
-
Methods inherited from class ubic.gemma.web.util.BaseWebIntegrationTest
perform
-
Methods inherited from class ubic.gemma.core.util.test.BaseIntegrationTest
setUpAuthentication, tearDownSecurityContext
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
runSecuredMethodOnSchedule
public void runSecuredMethodOnSchedule() throws Exception
- Throws:
Exception
-
runSecuredMethodOnScheduleMultiGroup
public void runSecuredMethodOnScheduleMultiGroup() throws Exception
- Throws:
Exception
-
runUnauthorizedMethodOnSchedule
public void runUnauthorizedMethodOnSchedule() throws Exception
- Throws:
Exception
-
testSecureJob
public void testSecureJob() throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
-